method
public
static
Price::roundPrice()
Сигнатура
public static roundPrice(int $priceType, float|int $price, string $currency) : float|int
Описание
Округлить цену.
Параметры
$priceType
int
ID типа цены.
$price
float|int
Значение цены.
$currency
string
Валюта.
Возвращаемое значение
float|int
Исходный файл: source/catalog/lib/product/price.php:199

