CurrencyFormat
string event_handler( float price, string currency );
CurrencyFormat event is called when formatting a price in accordance with currency settings.
Parameters
Parameter | Description |
---|---|
price | Price (sum amount) to be formatted. |
currency | Currency, by which rules the formatting must be performed. |
Returned value
If the handler returns non-empty string, it will be returned as a result of the CCurrencyLang::CurrencyFormat method.
See Also
© «Bitrix24», 2001-2024