The FormatInt function formats an integer value as a string by using the current regional settings of the operating system.
You can change the regional format with SetRegionalFormat.
Syntax
String Global.FormatInt(
Integer value)
Integer value)
Parameters
| value | The value. | Required |
|---|
Return value
The FormatInt function returns the string value.
Example
// Default US Region
str = FormatInt(1500)
MessageBox(str) // "1,500"
str = FormatInt(1500)
MessageBox(str) // "1,500"