Options to apply to the formatter, including locale and currency ISO code
Format a number value to currency according to locale standards and currency ISO code
The value to format. Numbers larger than 15 digits should be passed as a string to maintain precision.
The formatted currency
Format a number value to currency, separated into its individual parts
The value to format
An ordered array of objects representing the parts of the formatted currency, each with a type and value
Get placeholder for positive and negative formatted currency per locale
a string with formatted currency with placeholders positive; negative
Get group and decimal separators for the Currency Options
an object containing group and decimal separators
Get a list of supported currency codes
an array of sorted ISO 4217 currency codes that are supported at Procore.
Parse a formatted currency value into a primitive number
The formatted currency value to be parsed
A parsed, primitive number without formatting
Generated using TypeDoc
Options to apply to the formatter, including locale and currency ISO code