Currency

Free!
Download
Currency
Description

Install as normal Statamic addon.

In your template, use {{ var | currency }} to get a string formatted properly for your locale (based on your site locale).

You can pass in a locale as a parameter if you don't want to use the site locale, {{ var | currency:no_NO }}.

For best results, the PHP Intl extension should be installed.


Important Links
Details
Released March 19, 2018
Updated 10 months ago
Version v1.0.1
Downloads 375
Requires Statamic 2

Erin Dalzell

More by Erin Dalzell

Similar Addons

See All
Filter tag pairs by expiration date

Expires On

by Becky Soll in Modifier
Filter tag pairs by expiration date
A modifier that filters a multidimensional array (grid,bard,etc.) by a boolean/toggle field.

If Boolean

by Becky Soll in Modifier
A modifier that filters a multidimensional array (grid,bard,etc.) by a boolean/toggle field.
A modifier to count the number of sets (by type) within a bard field.

Set Count

by Becky Soll in Modifier
A modifier to count the number of sets (by type) within a bard field.