Default Currency Symbol
See Also: Locale Formatting Functions
Purpose
Returns the Windows locale currency symbol for use in data dictionary field masks.
Syntax
Use GlobalFunctionsProcedures.pkg
(Default_Currency_Symbol())
Return Type
What It Does
Returns the string used as the local monetary symbol from the Windows configuration registry. This symbol is intended to be used when setting a custom field mask in your data dictionary. See Field Mask for more information.
Examples
String sCurr
Move (Default_Currency_Symbol()) to sCurr
Set Field_Mask Field Customer.Balance to (sCurr + "*0.00")
The above example sets a simple currency mask for the Customer.Balance field where the currency symbol in the mask is determined by the Windows locale currency symbol.