This function formats an expression as a currency value using the currency symbol defined in the system control panel.
FormatCurrency(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 currency value.
The regional settings of your desktop computer provide values for omitted parameters.
The regional settings of the computer determine the position of the currency symbol relative to the currency value.
All settings information comes from the Regional Settings Currency tab except for the leading 0, which comes from the Number tab.