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 5 months ago
Version v1.0.1
Downloads 300
Requires Statamic 2

Erin Dalzell

More by Erin Dalzell

Similar Addons

See All
Modifier that converts formatted phone numbers into valid href "tel" strings.

Tel

by Aryeh Raber in Modifier
Modifier that converts formatted phone numbers into valid href "tel" strings.
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.
Filter tag pairs by expiration date

Expires On

by Becky Soll in Modifier
Filter tag pairs by expiration date