PriceMaths
Table of Contents
Methods
- roundByFormatCurrency() : float
- roundPrecision() : float
Methods
roundByFormatCurrency()
public
static roundByFormatCurrency(mixed $price, mixed $currency) : float
Use \Bitrix\Sale\PriceMaths::roundPrecision instead it
Parameters
- $price : mixed
- $currency : mixed
Return values
floatroundPrecision()
public
static roundPrecision(mixed $value) : float
Parameters
- $value : mixed