Types
Formats a number to a currency of a given currency code fitting its locale. Note: Some platforms may use different delimiters between the currency symbol and the number (if present for the locale). For instance, iOS often uses a non-breaking space, whereas Android uses a common space. This inconsistency is not corrected by this library and should thus be manually corrected if required.
Formats a number to a decimal representation
Formats a number to an integer representation
Formats a number to a pattern.
Formats a number to a percentage value. 100% is represented by 1.0, so 0.8 will be formatted as 80%.
Formats a number to a permillage value. 1000‰ is represented by 1.0, so 0.8 will be formatted as 800‰.
Formats a number to its scientific notation.