Documentation

roundPrice

float|integer public static
\Bitrix\Catalog\Product\Price::roundPrice(
 integer $priceType,
 float|integer $price,
 string $currency
);

Method executes price rounding off. Static method.

Parameters

ParameterDescriptionVersion
$priceTypePrice type ID.
$pricePrice value.
$currencyCurrency.

Example



© «Bitrix24», 2001-2024
Up