currency
-
Arguments:
{String} [symbol] - default: '$'
-
1.0.22+
{Number} [decimal places] - default: 2
-
Example:
{{ amount | currency }}
12345 => $12,345.00
Use a different symbol:
{{ amount | currency '£' }}
12345 => £12,345.00
Some currencies have 3 or 4 decimal places, while some others have none, for example Japanese Yen (¥) or Vietnamese Dong (₫):
{{ amount | currency '₫' 0 }}
12345 => ₫12,345
Please login to continue.