@wocart/theme / index / MessageOptions
Interface: MessageOptions
Properties
formatNumber?
optionalformatNumber?: (value) =>string
How numbers are written. Defaults to Intl.NumberFormat(locale); a theme
whose market writes Latin digits in Arabic passes its own rule.
Parameters
value
number
Returns
string
locale
locale:
string
The language whose plural rules pick a form (BCP 47).