The formatNumber utility localizes a number into a string with the appropriate punctuation based on the provided locale otherwise will default to the users locale.
formatNumber
formatNumber(1234);// 1,234 Copy
formatNumber(1234);// 1,234
Generated using TypeDoc v0.24.8
The
formatNumber
utility localizes a number into a string with the appropriate punctuation based on the provided locale otherwise will default to the users locale.