modifier.crmMoney.php
Tags
Table of Contents
Functions
- smarty_modifier_crmMoney() : string
- Format the given monetary amount (and currency) for display
Functions
smarty_modifier_crmMoney()
Format the given monetary amount (and currency) for display
smarty_modifier_crmMoney(string|int|float $amount[, string|null $currency = NULL ][, string|null $locale = NULL ]) : string
Parameters
- $amount : string|int|float
-
The monetary amount up for display.
- $currency : string|null = NULL
-
The (optional) currency.
- $locale : string|null = NULL
-
The (optional) locale.
Return values
string —formatted monetary amount