Tinderbox v10 Icon

Number Currency Formats

Number-type data can be formatted using the format() or .format() operators:

$ for local currency. When formatting numbers format("$") and .format("$") apply conventional formatting for your local currency – for example, "$1,063.52" from number 1063.52. Usage:

$MyString = $MyPrice.format("$") 

$0 for rounded local currency. The second character is a zero and not letter 'o'. When formatting numbers format("$0") and .format("$0") apply conventional formatting for your local currency, rounding to the nearest currency unit – for example, "$1,064" from number "1064.32".

The above currency format converters will use explicitly-set locales, rather than be fixed the user's default system locale.