См. определение в файле pricemaths.php строка 7
◆ roundByFormatCurrency()
static roundByFormatCurrency |
( |
|
$price, |
|
|
|
$currency |
|
) |
| |
|
static |
- Уст.:
- Use \Bitrix\Sale\PriceMaths::roundPrecision instead it
- Аргументы
-
- Возвращает
- float
См. определение в файле pricemaths.php строка 39
41 return floatval(SaleFormatCurrency($price, $currency,
false,
true));
◆ roundPrecision()
static roundPrecision |
( |
|
$value | ) |
|
|
static |
- Аргументы
-
- Возвращает
- float
- Исключения
-
См. определение в файле pricemaths.php строка 17
19 if (!isset(self::$valuePrecision))
22 if (self::$valuePrecision <= 0)
24 self::$valuePrecision = 2;
28 return round(doubleval($value), self::$valuePrecision);
static get($moduleId, $name, $default="", $siteId=false)
Returns a value of an option.
Объявления и описания членов класса находятся в файле: