Types > CurrencyFormat
Commerce APITypesCurrencyFormat
CurrencyFormat

Description

Currency formatting options

Fields

decimal_separator: String!

What to use as decimal separator

Example: "."


has_decimals: Boolean!

Whether to add decimals or not

Example: true


pattern: String!

How number is assembled into a string, {} is replaced by the formatted number

Example: "${} USD"


thousands_separator: String!

What to use as thousands separator

Example: ","


Used By

Types

Currency, InfoCurrency

Preview (typescript)

Loading module