float|integer public static
\Bitrix\Catalog\Product\Price::roundPrice(
integer $priceType,
float|integer $price,
string $currency
);
Method executes price rounding off. Static method.
Parameters
Parameter | Description | Version |
$priceType | Price type ID. | |
$price | Price value. | |
$currency | Currency. | |
Example