Метод calculatePriceWithTax
Сигнатура метода
public function calculatePriceWithTax(float $priceWithoutTax, ?float $taxRate = null): float
Возвращает:
float
Описание
Applies tax with $taxRate to the price and returns its new value
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$priceWithoutTax
|
float
|
—
|
—
|
$taxRate
|
?float
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/Accounting.php
Расположение метода в файле
Строки
344–349