<html> <head> <title>Struct Currency</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="Currency-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Elements" class="navisub">Elements' Summary</a></td> <td class="navisub"><a href="#ElementDetails" class="navisub">Elements' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">i18n</a> :: </p> </td> </tr> <tr> <td class="title">struct Currency</td> </tr> <tr> <td/></tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>Symbols, names, and attributes of a specific currency, returned in a sequence by <a href="XLocaleData.html">XLocaleData</a>::<a href="XLocaleData.html#getAllCurrencies">getAllCurrencies()</a>. </dd> <dt><b>See also</b></dt> <dd><a href="XLocaleData.html">XLocaleData</a><br> for links to DTD of XML locale data files. </dd> </dl> </td> </tr> </table> <hr> <a name="Elements"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Elements' Summary</td> </tr> <tr> <td class="imsum_left"><a href="#ID">ID</a></td> <td class="imsum_right">ISO 4217 currency code identifier, for example, <b>EUR</b> or <b>USD</b>. </td> </tr> <tr> <td class="imsum_left"><a href="#Symbol">Symbol</a></td> <td class="imsum_right">Currency symbol, for example, <b>$</b>. </td> </tr> <tr> <td class="imsum_left"><a href="#BankSymbol">BankSymbol</a></td> <td class="imsum_right">Currency abbreviation used by banks and in money exchange, for example, <b>EUR</b> or <b>USD</b>. This usually should be identical to the ISO 4217 currency code also used in the <a href="#ID">ID</a>, but doesn't necessarily have to be. </td> </tr> <tr> <td class="imsum_left"><a href="#Name">Name</a></td> <td class="imsum_right">Name of the currency, for example, <b>Euro</b> or <b>US Dollar</b>. Should be the localized name. </td> </tr> <tr> <td class="imsum_left"><a href="#Default">Default</a></td> <td class="imsum_right">If this currency is the default currency for a given locale. </td> </tr> <tr> <td class="imsum_left"><a href="#UsedInCompatibleFormatCodes">UsedInCompatibleFormatCodes</a></td> <td class="imsum_right">If this currency is the one used in compatible number format codes with <a href="FormatElement.html">FormatElement</a>::<a href="FormatElement.html#formatIndex">formatIndex</a> 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. </td> </tr> <tr> <td class="imsum_left"><a href="#DecimalPlaces">DecimalPlaces</a></td> <td class="imsum_right">The number of decimal places, for example, <b>2</b> for US Dollar or <b>0</b> for Italian Lira. </td> </tr> </table> <a name="ElementDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Elements' Details</td> </tr> <tr> <td class="imdetail"><a name="ID" class="membertitle">ID</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>ID</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>ISO 4217 currency code identifier, for example, <b>EUR</b> or <b>USD</b>. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Symbol" class="membertitle">Symbol</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>Symbol</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>Currency symbol, for example, <b>$</b>. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="BankSymbol" class="membertitle">BankSymbol</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>BankSymbol</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>Currency abbreviation used by banks and in money exchange, for example, <b>EUR</b> or <b>USD</b>. This usually should be identical to the ISO 4217 currency code also used in the <a href="#ID">ID</a>, but doesn't necessarily have to be. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Name" class="membertitle">Name</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>string <b>Name</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>Name of the currency, for example, <b>Euro</b> or <b>US Dollar</b>. Should be the localized name. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="Default" class="membertitle">Default</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>Default</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>If this currency is the default currency for a given locale. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="UsedInCompatibleFormatCodes" class="membertitle">UsedInCompatibleFormatCodes</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>boolean <b>UsedInCompatibleFormatCodes</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>If this currency is the one used in compatible number format codes with <a href="FormatElement.html">FormatElement</a>::<a href="FormatElement.html#formatIndex">formatIndex</a> 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. </dd> <dt><b>See also</b></dt> <dd><a href="NumberFormatIndex.html">NumberFormatIndex</a></dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="DecimalPlaces" class="membertitle">DecimalPlaces</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>short <b>DecimalPlaces</b>;<hr> <dl> <dt><b>Description</b></dt> <dd>The number of decimal places, for example, <b>2</b> for US Dollar or <b>0</b> for Italian Lira. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-idlref" --> </body> </html>