Skip to Content

Currency

The currency object describes a currency, including its name, symbol, and ISO code.

Usage Example

{%- comment -%} Show currency information {%- endcomment -%} <p> Currency: {{ currency.name }} ({{ currency.symbol }})<br> ISO Code: {{ currency.iso_code }} </p>

Properties

id

Returns the unique identifier for this currency.

name

Returns the display name of this currency.

symbol

Returns the currency symbol (e.g., €, $).

iso_code

Returns the ISO 4217 code for this currency.