formatNumber
Formats a number with thousands separators and decimal places.
Examples:
1,234,567.00
1,234,567
1.234.567,89
currency
Formats a number as currency with proper symbol and locale.
Examples:
$1,234.56
€1,234.56
£1,234.56
¥1,235 (JPY has no decimals)
1.234,56 €
Supported Currency Codes
Common currency codes include:percentage
Calculates and formats a percentage.
Examples:
75.0%
33.33%
formatBytes
Formats bytes into human-readable file sizes.
Examples:
0 Bytes
1 KB
1.46 MB
1 GB
ordinal
Adds ordinal suffix to a number (1st, 2nd, 3rd, etc.).1st, 2nd, 3rd, 4th
Examples:

