Types > CurrencyFormatCreate
Commerce APITypesCurrencyFormatCreate
CurrencyFormatCreate

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

CurrencyCreate, CurrencyModify

Preview (typescript)

interface CurrencyFormatCreate {
decimal_separator?: string
has_decimals?: boolean
pattern: string
thousands_separator?: string
}