Optional
The culture to use for formatting the number itself, default is undefined which means the browser's default culture.
undefined
'en-GB', 'en-US', 'fr-FR', etc. Copy
'en-GB', 'en-US', 'fr-FR', etc.
Number of decimal places, default is 2.
0, 1, 2, 3, etc. Copy
0, 1, 2, 3, etc.
Number of kilobytes, default is 1024.
1000 (1KB) or 1024 (1KiB) Copy
1000 (1KB) or 1024 (1KiB)
The culture to use for formatting the number itself, default is
undefined
which means the browser's default culture.