intFormat
converts a number into integer and formats according to the locale defaults.
string intFormat(number num);
| num | number | the number to format |
| string | the formatted number as a string |
Details
The method takes values of the following attributes from the locale in use:
- groupSize - the number of digits in a group.
- groupDelimiter - a char which separates groups of digits.
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.