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 1 year ago
Version v1.0.1
Downloads 436
Requires Statamic 2

Erin Dalzell

More by Erin Dalzell

Similar Addons

See All
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.
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 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.
Extends the default Bard (MediumEditor) anchor functionality with internal links selection.

Anchor Extension

by Frederik Sauer in Enhancement, Modifier
Extends the default Bard (MediumEditor) anchor functionality with internal links selection.