Bitrix API

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
float

roundPrecision()

public static roundPrecision(mixed $value) : float
Parameters
$value : mixed
Return values
float

        
On this page

Search results