FormatInt  Global

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)

Parameters

valueThe value.Required

Return value

The FormatInt function returns the string value.

Example

// Default US Region
str = FormatInt(1500)
MessageBox(str) // "1,500"
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia