Provides access to currency formatting settings as set up in the website’s admin.
Rendering this object directly returns a JSON representation of the settings.
You can also access each property individually.
Returns the unit (currency sign).
Example: $
, €
, ...
Returns the format string used for formatting non-negative amounts.
The %u
placeholder represents the unit, and the %n
placeholder represents the amount.
Returns the format string used for formatting negative amounts.
The %u
placeholder represents the unit, and the %n
placeholder represents the amount.
Returns the number of decimals to which the amount is rounded to when formatting.
The separator between the main and decimal part.
The character that delimits digits between thousands.