Localization: 4.2 International Formats: Currency

Up: GEOS SDK TechDocs | Up | Prev: 4.1 Number and Measure | Next: 4.3 Quotation Marks
LocalGetCurrencyFormat(), LocalSetCurrencyFormat()

These functions allow you to work with the currency format (see the figure below). This format consists of the currency symbol string, number of currency digits (which may be different from the number of digits for ordinary numbers), and the CurrencyFormatFlags record. The flags in this structure determine whether the currency format includes space around the symbol, a negative sign, or a leading zero. There are flags to determine the relative order of the negative sign, currency symbol, and number. The currency symbol string may be of up to length CURRENCY_SYMBOL_LENGTH including the null terminator. LocalGetCurrencyFormat() also returns the separator characters from the numeric formats, eliminating the need for a separate call to LocalGetNumericFormat() . LocalSetCurrencyFormat() allows the changing of the set preferences. Most parts of the currency format are stored in a LocalCurrencyFormat structure when passed to or returned by these functions.


Up: GEOS SDK TechDocs | Up | Prev: 4.1 Number and Measure | Next: 4.3 Quotation Marks