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 601
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.
Autolinks content wrapped in [braces], just like a wiki.

Wikilinks

by Statamic in Modifier
Autolinks content wrapped in [braces], just like a wiki.