SET CURRENCY Command
Defines the currency symbol and specifies its position in the display of numeric, currency, float, and double expressions.
SET CURRENCY TO [cCurrencySymbol]
-or-
SET CURRENCY LEFT | RIGHT |
Parameters
- cCurrencySymbol
-
Specifies a character string representing the currency symbol; can be one to nine characters long. Issue SET CURRENCY TO without cCurrencySymbol to reset the currency symbol to the default dollar sign ($).
You can also specify a currency symbol using Alt+nnn. Specify the Euro currency symbol () with Alt+0128 if you have installed supporting Windows fonts. You also can set the default currency symbol in the Regional tab of the Options dialog box.
- LEFT
-
(Default) Positions the currency symbol to the left of the currency value.
- RIGHT
-
Positions the currency symbol to the right of the currency value.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08