Documentation

addCurrencyCounter

 public
\Bitrix\Conversion\DayContext::addCurrencyCounter(
 string $name,
 integer|float|string $value,
 string $currency
);

Non-static method adds value (in currency) to counter. Creates a counter if it doesn't exist.

Parameters

ParameterDescriptionVersion
$nameCounter name.
$valueNumerical value.
$currencyCurrency code (for example, RUB).


© «Bitrix24», 2001-2024