This function formats an expression as a number.
FormatNumber(Expression, [NumDigitsAfterDecimal], [IncludeLeadingDigit], [UseParensForNegativeNumbers], [GroupDigits])
Constant |
Value |
Description |
TristateTrue | –1 | True. |
TristateFalse | 0 | False. |
TristateUseDefault | –2 | Use the setting from the computer's regional settings. |
Constant |
Value |
Description |
TristateTrue | –1 | True. |
TristateFalse | 0 | False. |
TristateUseDefault | –2 | Use the setting from the computer's regional settings. |
Constant |
Value |
Description |
TristateTrue | –1 | True. |
TristateFalse | 0 | False. |
TristateUseDefault | –2 | Use the setting from the computer's regional settings. |
Returns a formatted number.
The regional settings of your desktop computer provide values for omitted parameters.
The Number tab of the regional settings provides all settings information.