Documentation

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

ParameterDescriptionVersion
$priceTypePrice type ID.
$pricePrice value.
$currencyPrice currency.

Example



© «Bitrix24», 2001-2024
Up