Documentation

formatValue


CCurrencyLang::formatValue(
$value, array $format, $useTemplate = true
);

The method is used to format value by the passed format. Static method.

Returned value – string.

Method parameters

Parameter Description
value Value.
format Format.
useTemplate Use or do not use template.
When true, works as CurrencyFormat and the event CurrencyFormat is called. When false, works as CurrencyFormatNumber.


© «Bitrix24», 2001-2024
Up