Elements' Summary |
ID |
ISO 4217 currency code identifier, for example, EUR or
USD . |
Symbol |
Currency symbol, for example, $ . |
BankSymbol |
Currency abbreviation used by banks and in money exchange, for
example, EUR or USD . This usually should be
identical to the ISO 4217 currency code also used in the
ID , but doesn't necessarily have to be. |
Name |
Name of the currency, for example, Euro or US
Dollar . Should be the localized name. |
Default |
If this currency is the default currency for a given locale. |
UsedInCompatibleFormatCodes |
If this currency is the one used in compatible number format codes with
FormatElement::formatIndex values in the range 12..17.
Those format codes are used to generate some old style currency format
codes for compatibility with StarOffice5 and StarOffice4.
|
DecimalPlaces |
The number of decimal places, for example, 2 for US Dollar
or 0 for Italian Lira. |
Elements' Details |
ID
string ID;
- Description
- ISO 4217 currency code identifier, for example, EUR or
USD .
|
|
Symbol
string Symbol;
- Description
- Currency symbol, for example, $ .
|
|
BankSymbol
string BankSymbol;
- Description
- Currency abbreviation used by banks and in money exchange, for
example, EUR or USD . This usually should be
identical to the ISO 4217 currency code also used in the
ID , but doesn't necessarily have to be.
|
|
Name
string Name;
- Description
- Name of the currency, for example, Euro or US
Dollar . Should be the localized name.
|
|
Default
boolean Default;
- Description
- If this currency is the default currency for a given locale.
|
|
UsedInCompatibleFormatCodes
boolean UsedInCompatibleFormatCodes;
- Description
- If this currency is the one used in compatible number format codes with
FormatElement::formatIndex values in the range 12..17.
Those format codes are used to generate some old style currency format
codes for compatibility with StarOffice5 and StarOffice4.
- See also
- NumberFormatIndex
|
|
DecimalPlaces
short DecimalPlaces;
- Description
- The number of decimal places, for example, 2 for US Dollar
or 0 for Italian Lira.
|
|
Copyright © 2003 Sun Microsystems, Inc.