This function formats an expression as a percentage (multiplied by 100) with a trailing % character.
FormatPercent(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 percentage value.
The regional settings provide values for omitted parameters.
The Number tab of the regional settings provides all settings information.