searchRoundRule
array public static \Bitrix\Catalog\Product\Price::searchRoundRule( integer $priceType, float|integer $price, string $currency = '' );
Method returns rounding off rule for a speified price value. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$priceType | Price type ID. | |
$price | Price value. | |
$currency | Price currency. |
Example
© «Bitrix24», 2001-2024