FormatNumber
| Function | Parameters | Return value |
|---|---|---|
FormatNumber |
object value |
string |
Formats the specified value as a number, using the Windows regional settings.
Example:
FormatNumber(1234.56) = "1,234.56"
| Function | Parameters | Return value |
|---|---|---|
FormatNumber |
object value,``int decimalDigits |
string |
Formats the specified value as a number. The "decimalDigits" parameter indicates how many places are displayed to the right of the decimal.
Example:
FormatNumber(1234.56, 1) = "1,234.6"