Top   Module   Use   Manual   Index 

com :: sun :: star :: i18n ::

struct Currency


Description
Symbols and names of a specific currency.

Returned by XLocaleData::getAllCurrencies() .



Elements

string ID
Description
identifier, for example, dollar .
string Symbol
Description
currency symbol, for example, $ .
string BankSymbol
Description
currency abbreviation used by banks and in money exchange, for example, USD .
string Name
Description
name of the currency, for example, US Dollar .
boolean Default
Description
if this currency is the default currency for a given locale.
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.
short DecimalPlaces
Description
the number of decimal places, for example, 2 for US Dollar or 0 for Italian Lira.
Top of Page