Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 67

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: DecimalFormat Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>DecimalFormat Class Reference</h1><!-- doxytag: class="DecimalFormat" --><!-- doxytag: inherits="NumberFormat" --><a class="el" href="classDecimalFormat.html">DecimalFormat</a> is a concrete subclass of <a class="el" href="classNumberFormat.html">NumberFormat</a> that formats decimal numbers.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>&gt;</code>
<p>
<p>Inheritance diagram for DecimalFormat:
<p><center><img src="classDecimalFormat.png" usemap="#DecimalFormat_map" border="0" alt=""></center>
<map name="DecimalFormat_map">
<area href="classNumberFormat.html" alt="NumberFormat" shape="rect" coords="0,168,96,192">
<area href="classFormat.html" alt="Format" shape="rect" coords="0,112,96,136">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,96,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,96,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> { <br>
&nbsp;&nbsp;<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7f146ca0a8b344f70cecb3803ae0f570b">kRoundCeiling</a>, 
<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7bfbc6479dc0e17828284c1c9defb1a6b">kRoundFloor</a>, 
<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e72533285a97586f0dbd50b800fd6122c8">kRoundDown</a>, 
<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7704fbaff22d357bf8e050996bd685301">kRoundUp</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e766aca6588fc0e4dbf998f1218c650a8e">kRoundHalfEven</a>, 
<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7a6798557d8ca6479fcaf9f413f149471">kRoundHalfDown</a>, 
<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7b7ea67fe0f5eb967ab3e21ec59aec926">kRoundHalfUp</a>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rounding mode.  <a href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> { <b>kPadBeforePrefix</b>, 
<b>kPadAfterPrefix</b>, 
<b>kPadBeforeSuffix</b>, 
<b>kPadAfterSuffix</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pad position.  <a href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#8a421e9ca43a31cb308c8052cf82850e">DecimalFormat</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> using the default pattern and symbols for the default locale.  <a href="#8a421e9ca43a31cb308c8052cf82850e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aadc21eab2ef6252f25eada5440e3c65">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and the symbols for the default locale.  <a href="#aadc21eab2ef6252f25eada5440e3c65"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#eac00ab9c6c9bd9bf08d00db52ec5512">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *symbolsToAdopt, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and symbols.  <a href="#eac00ab9c6c9bd9bf08d00db52ec5512"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#f5ef6767e465d243dddea9d8d3bd9a57">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *symbolsToAdopt, <a class="el" href="structUParseError.html">UParseError</a> &amp;parseError, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and symbols.  <a href="#f5ef6767e465d243dddea9d8d3bd9a57"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#6202bc1606eb3800758ec33fc05b6d2b">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> &amp;symbols, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and symbols.  <a href="#6202bc1606eb3800758ec33fc05b6d2b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#b9370805544903b8a5040468619a34ed">DecimalFormat</a> (const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> &amp;source)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#b9370805544903b8a5040468619a34ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classDecimalFormat.html">DecimalFormat</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#80ae4009d0a89aaa339e38328c5f5f31">operator=</a> (const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> &amp;rhs)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator.  <a href="#80ae4009d0a89aaa339e38328c5f5f31"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#1c39af86d6186c5ffd8ae49d32a87cd6">~DecimalFormat</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#1c39af86d6186c5ffd8ae49d32a87cd6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classFormat.html">Format</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#b708755522b88a31695ed54eac6f1bbe">clone</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clone this <a class="el" href="classFormat.html">Format</a> object polymorphically.  <a href="#b708755522b88a31695ed54eac6f1bbe"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#3d3a2d71fcf817ddc1473e9e5c59756c">operator==</a> (const <a class="el" href="classFormat.html">Format</a> &amp;other) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html">Format</a> objects are semantically equal.  <a href="#3d3a2d71fcf817ddc1473e9e5c59756c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classFormat.html">Format</a> a double or long number using base-10 representation.  <a href="#ed19f9279def60133b3122a2435ea568"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a2bab620a29369c545e85d544d73ad05">format</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classFormat.html">Format</a> a long number using base-10 representation.  <a href="#a2bab620a29369c545e85d544d73ad05"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#4239fefb073af94327ccdac88bb5bf3e">format</a> (<a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a> number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classFormat.html">Format</a> an int64 number using base-10 representation.  <a href="#4239fefb073af94327ccdac88bb5bf3e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#1b34b7f84188cc9f534ef96b83c99d64">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;pos, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classFormat.html">Format</a> a <a class="el" href="classFormattable.html">Formattable</a> using base-10 representation.  <a href="#1b34b7f84188cc9f534ef96b83c99d64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af9c44cbcc2b7f0279dcc6f121b8bf13">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &amp;obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method.  <a href="#af9c44cbcc2b7f0279dcc6f121b8bf13"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#c5b6d7339b4ea565dee15147cd29df09">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method.  <a href="#c5b6d7339b4ea565dee15147cd29df09"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#10d4385eb16ad17b731837d599601852">format</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method.  <a href="#10d4385eb16ad17b731837d599601852"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#5ba07cd2c17b21892d72a7a1ec9f184a">format</a> (<a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a> number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;appendTo) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method.  <a href="#5ba07cd2c17b21892d72a7a1ec9f184a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#fe6f4084b4a6ccff6977501d90011fa4">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;parsePosition) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse the given string using this object's choices.  <a href="#fe6f4084b4a6ccff6977501d90011fa4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#9c0309ac314fe3ec8a7cc4b50b99940a">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse the given string using this object's choices.  <a href="#9c0309ac314fe3ec8a7cc4b50b99940a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a83789398c1b9baa69aa31a5391eadf2">parseCurrency</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;text, <a class="el" href="classFormattable.html">Formattable</a> &amp;result, <a class="el" href="classParsePosition.html">ParsePosition</a> &amp;pos) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parses text from the given string as a currency amount.  <a href="#a83789398c1b9baa69aa31a5391eadf2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#32cc0bfc2cffa8cb3978a67555fe7253">getDecimalFormatSymbols</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the decimal format symbols, which is generally not changed by the programmer or user.  <a href="#32cc0bfc2cffa8cb3978a67555fe7253"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#13825fd336e4de55dfc5cd13616430b2">adoptDecimalFormatSymbols</a> (<a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *symbolsToAdopt)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the decimal format symbols, which is generally not changed by the programmer or user.  <a href="#13825fd336e4de55dfc5cd13616430b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#973c2dd6666737ba8d91384ea77ff26b">setDecimalFormatSymbols</a> (const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> &amp;symbols)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the decimal format symbols, which is generally not changed by the programmer or user.  <a href="#973c2dd6666737ba8d91384ea77ff26b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ccb2ef21b586a75451b11cc642014ddb">getPositivePrefix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the positive prefix.  <a href="#ccb2ef21b586a75451b11cc642014ddb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#955034e72cf166f9b9c933b2e7d0c0ce">setPositivePrefix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the positive prefix.  <a href="#955034e72cf166f9b9c933b2e7d0c0ce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#723610a9d2dec9951295a001f07ed51c">getNegativePrefix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the negative prefix.  <a href="#723610a9d2dec9951295a001f07ed51c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#923f9be542ebdbdf07f26dd849a6047b">setNegativePrefix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the negative prefix.  <a href="#923f9be542ebdbdf07f26dd849a6047b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#532d3195af00b41c20d7712470302a64">getPositiveSuffix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the positive suffix.  <a href="#532d3195af00b41c20d7712470302a64"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#cc7ebd164e98f56a044861a77eb5b7b0">setPositiveSuffix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the positive suffix.  <a href="#cc7ebd164e98f56a044861a77eb5b7b0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#079be906d4852860a196687e9cb1c46c">getNegativeSuffix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the negative suffix.  <a href="#079be906d4852860a196687e9cb1c46c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ee6c5f9d27a8df1d33bc65d9a5b546bf">setNegativeSuffix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the negative suffix.  <a href="#ee6c5f9d27a8df1d33bc65d9a5b546bf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a7ed11a9a3bfecf78bf0323c09a89ce5">getMultiplier</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the multiplier for use in percent, permill, etc.  <a href="#a7ed11a9a3bfecf78bf0323c09a89ce5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#eaa002ef2300082f24802df929162f83">setMultiplier</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the multiplier for use in percent, permill, etc.  <a href="#eaa002ef2300082f24802df929162f83"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#2625aaab4e08c60f390f72ba3ef512a2">getRoundingIncrement</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the rounding increment.  <a href="#2625aaab4e08c60f390f72ba3ef512a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#7d2a985abd8e4ac25c77e94f7f8ae2e7">setRoundingIncrement</a> (double newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the rounding increment.  <a href="#7d2a985abd8e4ac25c77e94f7f8ae2e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">ERoundingMode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#9dd8911ea74be813c2446ee7a6657385">getRoundingMode</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the rounding mode.  <a href="#9dd8911ea74be813c2446ee7a6657385"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#4c4239c9afd29b26ab405efda8d7f993">setRoundingMode</a> (<a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> roundingMode)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the rounding mode.  <a href="#4c4239c9afd29b26ab405efda8d7f993"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the width to which the output of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> is padded.  <a href="#96acb157e41ca30d73f7baef3e78e0a1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> width)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the width to which the output of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> is padded.  <a href="#16b35a9d59d21f140c31e73dbb08758f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#c32d9aeab3b31c4780ebbae8a338a9d0">getPadCharacterString</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the pad character used to pad to the format width.  <a href="#c32d9aeab3b31c4780ebbae8a338a9d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;padChar)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the character used to pad to the format width.  <a href="#23c909183f4e0ed0c938fb67a1f5b5dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#44433620af9101170cdf90f5b56c9581">getPadPosition</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the position at which padding will take place.  <a href="#44433620af9101170cdf90f5b56c9581"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> (<a class="el" href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> padPos)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the position at which padding will take place.  <a href="#466c599088e944d2f9a73d2d251af4f3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#e27960a24003cd84116cb94d05efd893">isScientificNotation</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return whether or not scientific notation is used.  <a href="#e27960a24003cd84116cb94d05efd893"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> (<a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> useScientific)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set whether or not scientific notation is used.  <a href="#280ddb4755eadd569c668844eea83ec1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the minimum exponent digits that will be shown.  <a href="#7f2624eca4e37bfdebcb8b27f016abb0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> (<a class="el" href="pwin32_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> minExpDig)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the minimum exponent digits that will be shown.  <a href="#a9bbe051c7f9962bb8a4a91cc32bb001"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return whether the exponent sign is always shown.  <a href="#3f6ed363c1f0a3260153822f159ef136"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> (<a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> expSignAlways)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set whether the exponent sign is always shown.  <a href="#4c341614d4fcdceb83345a32ab125ec1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#2609e24ab824305f1ed4c68523aa9820">getGroupingSize</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the grouping size.  <a href="#2609e24ab824305f1ed4c68523aa9820"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#f1111f8ae6bcae827973d5114b5a1dd7">setGroupingSize</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the grouping size.  <a href="#f1111f8ae6bcae827973d5114b5a1dd7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a215994a121009e3619e6e3884ced73b">getSecondaryGroupingSize</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the secondary grouping size.  <a href="#a215994a121009e3619e6e3884ced73b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#489755a7c9b3a772d950c952c2e513d5">setSecondaryGroupingSize</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the secondary grouping size.  <a href="#489755a7c9b3a772d950c952c2e513d5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#856515c53689f8bbedf695b17b3e3769">isDecimalSeparatorAlwaysShown</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows you to get the behavior of the decimal separator with integers.  <a href="#856515c53689f8bbedf695b17b3e3769"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#1c767fd7397fd26ca7c0bae7fdcf2343">setDecimalSeparatorAlwaysShown</a> (<a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Allows you to set the behavior of the decimal separator with integers.  <a href="#1c767fd7397fd26ca7c0bae7fdcf2343"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#2b19febbf7af0e97964b11ecc815a216">toPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Synthesizes a pattern string that represents the current state of this <a class="el" href="classFormat.html">Format</a> object.  <a href="#2b19febbf7af0e97964b11ecc815a216"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#60ab445743d05da45cdbf201803ee2d6">toLocalizedPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;result) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Synthesizes a localized pattern string that represents the current state of this <a class="el" href="classFormat.html">Format</a> object.  <a href="#60ab445743d05da45cdbf201803ee2d6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#f2d13a3de17cf4085cc82f74a915af6d">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="structUParseError.html">UParseError</a> &amp;parseError, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Apply the given pattern to this <a class="el" href="classFormat.html">Format</a> object.  <a href="#f2d13a3de17cf4085cc82f74a915af6d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#1cc6a469471eeae2356819552281001b">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the pattern.  <a href="#1cc6a469471eeae2356819552281001b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#3a9842cd391ea434e18889f5b04fb42d">applyLocalizedPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="structUParseError.html">UParseError</a> &amp;parseError, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Apply the given pattern to this <a class="el" href="classFormat.html">Format</a> object.  <a href="#3a9842cd391ea434e18889f5b04fb42d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#d20c4e92d192db4f70bc9631a67a0c1e">applyLocalizedPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;pattern, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Apply the given pattern to this <a class="el" href="classFormat.html">Format</a> object.  <a href="#d20c4e92d192db4f70bc9631a67a0c1e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af3692b04cf2fafbc536bcdaf9caea25">setMaximumIntegerDigits</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the maximum number of digits allowed in the integer portion of a number.  <a href="#af3692b04cf2fafbc536bcdaf9caea25"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#cda98ebc96abd54c9d796e90231f3bf9">setMinimumIntegerDigits</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the minimum number of digits allowed in the integer portion of a number.  <a href="#cda98ebc96abd54c9d796e90231f3bf9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#383f882e65849d2cf59550c875f61f1d">setMaximumFractionDigits</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the maximum number of digits allowed in the fraction portion of a number.  <a href="#383f882e65849d2cf59550c875f61f1d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#cb6abe86ebcfd4bb0b91dec005da9d7b">setMinimumFractionDigits</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the minimum number of digits allowed in the fraction portion of a number.  <a href="#cb6abe86ebcfd4bb0b91dec005da9d7b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#68888fdef31bbb1c5d0169a15eab6ebb">getMinimumSignificantDigits</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the minimum number of significant digits that will be displayed.  <a href="#68888fdef31bbb1c5d0169a15eab6ebb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#f6d7c571404f51b43eae3c31e85e1012">getMaximumSignificantDigits</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the maximum number of significant digits that will be displayed.  <a href="#f6d7c571404f51b43eae3c31e85e1012"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#f970944ad7d9d249aeb488bd4872fe2a">setMinimumSignificantDigits</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> min)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the minimum number of significant digits that will be displayed.  <a href="#f970944ad7d9d249aeb488bd4872fe2a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#985457f807266318caaa13a20554906b">setMaximumSignificantDigits</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> max)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the maximum number of significant digits that will be displayed.  <a href="#985457f807266318caaa13a20554906b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#1e5f397ae8f322bd10165634c36ad51d">areSignificantDigitsUsed</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if significant digits are in use, or false if integer and fraction digit counts are in use.  <a href="#1e5f397ae8f322bd10165634c36ad51d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ea4a7be245a5094ad7225a443ee39409">setSignificantDigitsUsed</a> (<a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> useSignificantDigits)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets whether significant digits are in use, or integer and fraction digit counts are in use.  <a href="#ea4a7be245a5094ad7225a443ee39409"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#4c87fca5e0d14886bdaa4e0969f814e5">setCurrency</a> (const UChar *theCurrency, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the currency used to display currency amounts.  <a href="#4c87fca5e0d14886bdaa4e0969f814e5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#2ac00a272f0b9f01c4004372c417d347">setCurrency</a> (const UChar *theCurrency)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the currency used to display currency amounts.  <a href="#2ac00a272f0b9f01c4004372c417d347"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#29d58da07dee220c1661ec37397babb2">getDynamicClassID</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#29d58da07dee220c1661ec37397babb2"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#2c44dda0c6621b3ff10b120fd760ea88">getStaticClassID</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the class ID for this class.  <a href="#2c44dda0c6621b3ff10b120fd760ea88"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#f41fc1a3bde85bec4649668300f60148">fgNumberPatterns</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The resource tags we use to retrieve decimal format data from locale resource bundles.  <a href="#f41fc1a3bde85bec4649668300f60148"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#1e0f67f9fcfbb26e36f1a44865e7cf15">getEffectiveCurrency</a> (UChar *result, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the currency in effect for this formatter.  <a href="#1e0f67f9fcfbb26e36f1a44865e7cf15"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#8d5140e73b831fedb039ccf3c303c156">kDoubleIntegerDigits</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of integer digits  <a href="#8d5140e73b831fedb039ccf3c303c156"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#b499b677e78e3320d6704b21f8a3ad23">kDoubleFractionDigits</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of fraction digits  <a href="#b499b677e78e3320d6704b21f8a3ad23"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#efc212fd0526b37ca733b1827d28f440">kMaxScientificIntegerDigits</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">When someone turns on scientific mode, we assume that more than this number of digits is due to flipping from some other mode that didn't restrict the maximum, and so we force 1 integer digit.  <a href="#efc212fd0526b37ca733b1827d28f440"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classDecimalFormat.html">DecimalFormat</a> is a concrete subclass of <a class="el" href="classNumberFormat.html">NumberFormat</a> that formats decimal numbers. 
<p>
It has a variety of features designed to make it possible to parse and format numbers in any locale, including support for Western, Arabic, or Indic digits. It also supports different flavors of numbers, including integers ("123"), fixed-point numbers ("123.4"), scientific notation ("1.23E4"), percentages ("12%"), and currency amounts ("$123"). All of these flavors can be easily localized.<p>
To obtain a <a class="el" href="classNumberFormat.html">NumberFormat</a> for a specific locale (including the default locale) call one of NumberFormat's factory methods such as <a class="el" href="classNumberFormat.html#2483fa1e87f3600395ff0c8f364f7b6f">createInstance()</a>. Do not call the <a class="el" href="classDecimalFormat.html">DecimalFormat</a> constructors directly, unless you know what you are doing, since the <a class="el" href="classNumberFormat.html">NumberFormat</a> factory methods may return subclasses other than <a class="el" href="classDecimalFormat.html">DecimalFormat</a>.<p>
<b>Example Usage</b><p>
<div class="fragment"><pre class="fragment">     <span class="comment">// Normally we would have a GUI with a menu for this</span>
     <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> locCount;
     <span class="keyword">const</span> <a class="code" href="classLocale.html">Locale</a>* locales = <a class="code" href="classNumberFormat.html#29addeb994249b22539ef1659d4017c7">NumberFormat::getAvailableLocales</a>(locCount);
 
     <span class="keywordtype">double</span> myNumber = -1234.56;
     <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> success = <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78ca43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;
     <a class="code" href="classNumberFormat.html">NumberFormat</a>* form;
 
     <span class="comment">// Print out a number with the localized number, currency and percent</span>
     <span class="comment">// format for each locale.</span>
     <a class="code" href="classUnicodeString.html">UnicodeString</a> countryName;
     <a class="code" href="classUnicodeString.html">UnicodeString</a> displayName;
     <a class="code" href="classUnicodeString.html">UnicodeString</a> str;
     <a class="code" href="classUnicodeString.html">UnicodeString</a> pattern;
     <a class="code" href="classFormattable.html">Formattable</a> fmtable;
     <span class="keywordflow">for</span> (<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> j = 0; j &lt; 3; ++j) {
         cout &lt;&lt; endl &lt;&lt; <span class="stringliteral">"FORMAT "</span> &lt;&lt; j &lt;&lt; endl;
         <span class="keywordflow">for</span> (<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> i = 0; i &lt; locCount; ++i) {
             <span class="keywordflow">if</span> (locales[i].getCountry(countryName).size() == 0) {
                 <span class="comment">// skip language-only</span>
                 <span class="keywordflow">continue</span>;
             }
             <span class="keywordflow">switch</span> (j) {
             <span class="keywordflow">case</span> 0:
                 form = <a class="code" href="classNumberFormat.html#2483fa1e87f3600395ff0c8f364f7b6f">NumberFormat::createInstance</a>(locales[i], success ); <span class="keywordflow">break</span>;
             <span class="keywordflow">case</span> 1:
                 form = <a class="code" href="classNumberFormat.html#0c5d7b55f149281ed063e6bf631e1433">NumberFormat::createCurrencyInstance</a>(locales[i], success ); <span class="keywordflow">break</span>;
             <span class="keywordflow">default</span>:
                 form = <a class="code" href="classNumberFormat.html#033f486287d03fc07ccf422992a3e894">NumberFormat::createPercentInstance</a>(locales[i], success ); <span class="keywordflow">break</span>;
             }
             <span class="keywordflow">if</span> (form) {
                 str.<a class="code" href="classUnicodeString.html#ee0fec9568ee616e330627bf371eda8d">remove</a>();
                 pattern = ((<a class="code" href="classDecimalFormat.html">DecimalFormat</a>*)form)-&gt;toPattern(pattern);
                 cout &lt;&lt; locales[i].<a class="code" href="classLocale.html#3c23fa119d789f1a2a4d3cab0f7caa49">getDisplayName</a>(displayName) &lt;&lt; <span class="stringliteral">": "</span> &lt;&lt; pattern;
                 cout &lt;&lt; <span class="stringliteral">"  -&gt;  "</span> &lt;&lt; form-&gt;<a class="code" href="classNumberFormat.html#848c716acd547e14018fd6713c6c58f2">format</a>(myNumber,str) &lt;&lt; endl;
                 form-&gt;<a class="code" href="classNumberFormat.html#b2c59c0b036a413b6735c6d50b88ae25">parse</a>(form-&gt;<a class="code" href="classNumberFormat.html#848c716acd547e14018fd6713c6c58f2">format</a>(myNumber,str), fmtable, success);
                 <span class="keyword">delete</span> form;  
             }
         }
     }
</pre></div><p>
<b>Patterns</b><p>
A <a class="el" href="classDecimalFormat.html">DecimalFormat</a> consists of a <em>pattern</em> and a set of <em>symbols</em>. The pattern may be set directly using <a class="el" href="classDecimalFormat.html#f2d13a3de17cf4085cc82f74a915af6d">applyPattern()</a>, or indirectly using other API methods which manipulate aspects of the pattern, such as the minimum number of integer digits. The symbols are stored in a <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> object. When using the <a class="el" href="classNumberFormat.html">NumberFormat</a> factory methods, the pattern and symbols are read from ICU's locale data.<p>
<b>Special Pattern Characters</b><p>
Many characters in a pattern are taken literally; they are matched during parsing and output unchanged during formatting. Special characters, on the other hand, stand for other characters, strings, or classes of characters. For example, the '#' character is replaced by a localized digit. Often the replacement character is the same as the pattern character; in the U.S. locale, the ',' grouping character is replaced by ','. However, the replacement is still happening, and if the symbols are modified, the grouping character changes. Some special characters affect the behavior of the formatter by their presence; for example, if the percent character is seen, then the value is multiplied by 100 before being displayed.<p>
To insert a special character in a pattern as a literal, that is, without any special meaning, the character must be quoted. There are some exceptions to this which are noted below.<p>
The characters listed here are used in non-localized patterns. Localized patterns use the corresponding characters taken from this formatter's <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> object instead, and these characters lose their special status. Two exceptions are the currency sign and quote, which are not localized.<p>
<table border="0" cellspacing="3" cellpadding="0>">
<tr bgcolor="#ccccff">
<td align="left>"><b>Symbol</b> </td><td align="left>"><b>Location</b> </td><td align="left>"><b>Localized?</b> </td><td align="left>"><b>Meaning</b> </td></tr>
<tr valign="top>">
<td><code>0</code> </td><td>Number </td><td>Yes </td><td>Digit </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>1-9</code> </td><td>Number </td><td>Yes </td><td>'1' through '9' indicate rounding. </td></tr>
<tr valign="top>">
<td><code> &#x40;</code> </td><td>Number </td><td>No </td><td>Significant digit </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>#</code> </td><td>Number </td><td>Yes </td><td>Digit, zero shows as absent </td></tr>
<tr valign="top>">
<td><code>.</code> </td><td>Number </td><td>Yes </td><td>Decimal separator or monetary decimal separator </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>-</code> </td><td>Number </td><td>Yes </td><td>Minus sign </td></tr>
<tr valign="top>">
<td><code>,</code> </td><td>Number </td><td>Yes </td><td>Grouping separator </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>E</code> </td><td>Number </td><td>Yes </td><td>Separates mantissa and exponent in scientific notation. <em>Need not be quoted in prefix or suffix.</em> </td></tr>
<tr valign="top>">
<td><code>+</code> </td><td>Exponent </td><td>Yes </td><td>Prefix positive exponents with localized plus sign. <em>Need not be quoted in prefix or suffix.</em> </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>;</code> </td><td>Subpattern boundary </td><td>Yes </td><td>Separates positive and negative subpatterns </td></tr>
<tr valign="top>">
<td><code>%</code> </td><td>Prefix or suffix </td><td>Yes </td><td>Multiply by 100 and show as percentage </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>\u2030</code> </td><td>Prefix or suffix </td><td>Yes </td><td>Multiply by 1000 and show as per mille </td></tr>
<tr valign="top>">
<td><code> &curren;</code> (<code>\u00A4</code>) </td><td>Prefix or suffix </td><td>No </td><td>Currency sign, replaced by currency symbol. If doubled, replaced by international currency symbol. If present in a pattern, the monetary decimal separator is used instead of the decimal separator. </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>'</code> </td><td>Prefix or suffix </td><td>No </td><td>Used to quote special characters in a prefix or suffix, for example, <code>"'#'#"</code> formats 123 to <code>"#123"</code>. To create a single quote itself, use two in a row: <code>"# o''clock"</code>. </td></tr>
<tr valign="top>">
<td><code>*</code> </td><td>Prefix or suffix boundary </td><td>Yes </td><td>Pad escape, precedes pad character </td></tr>
</table>
<p>
A <a class="el" href="classDecimalFormat.html">DecimalFormat</a> pattern contains a postive and negative subpattern, for example, "#,##0.00;(#,##0.00)". Each subpattern has a prefix, a numeric part, and a suffix. If there is no explicit negative subpattern, the negative subpattern is the localized minus sign prefixed to the positive subpattern. That is, "0.00" alone is equivalent to "0.00;-0.00". If there is an explicit negative subpattern, it serves only to specify the negative prefix and suffix; the number of digits, minimal digits, and other characteristics are ignored in the negative subpattern. That means that "#,##0.0#;(#)" has precisely the same result as "#,##0.0#;(#,##0.0#)".<p>
The prefixes, suffixes, and various symbols used for infinity, digits, thousands separators, decimal separators, etc. may be set to arbitrary values, and they will appear properly during formatting. However, care must be taken that the symbols and strings do not conflict, or parsing will be unreliable. For example, either the positive and negative prefixes or the suffixes must be distinct for <a class="el" href="classDecimalFormat.html#fe6f4084b4a6ccff6977501d90011fa4">parse()</a> to be able to distinguish positive from negative values. Another example is that the decimal separator and thousands separator should be distinct characters, or parsing will be impossible.<p>
The <em>grouping separator</em> is a character that separates clusters of integer digits to make large numbers more legible. It commonly used for thousands, but in some locales it separates ten-thousands. The <em>grouping size</em> is the number of digits between the grouping separators, such as 3 for "100,000,000" or 4 for "1 0000 0000". There are actually two different grouping sizes: One used for the least significant integer digits, the <em>primary grouping size</em>, and one used for all others, the <em>secondary grouping size</em>. In most locales these are the same, but sometimes they are different. For example, if the primary grouping interval is 3, and the secondary is 2, then this corresponds to the pattern "#,##,##0", and the number 123456789 is formatted as "12,34,56,789". If a pattern contains multiple grouping separators, the interval between the last one and the end of the integer defines the primary grouping size, and the interval between the last two defines the secondary grouping size. All others are ignored, so "#,##,###,####" == "###,###,####" == "##,#,###,####".<p>
Illegal patterns, such as "#.#.#" or "#.###,###", will cause <a class="el" href="classDecimalFormat.html">DecimalFormat</a> to set a failing UErrorCode.<p>
<b>Pattern BNF</b><p>
<pre>
 pattern    := subpattern (';' subpattern)?
 subpattern := prefix? number exponent? suffix?
 number     := (integer ('.' fraction)?) | sigDigits
 prefix     := '\u0000'..'\uFFFD' - specialCharacters
 suffix     := '\u0000'..'\uFFFD' - specialCharacters
 integer    := '#'* '0'* '0'
 fraction   := '0'* '#'*
 sigDigits  := '#'* '@' '@'* '#'*
 exponent   := 'E' '+'? '0'* '0'
 padSpec    := '*' padChar
 padChar    := '\u0000'..'\uFFFD' - quote
 &nbsp;
 Notation:
   X*       0 or more instances of X
   X?       0 or 1 instances of X
   X|Y      either X or Y
   C..D     any character from C up to D, inclusive
   S-T      characters in S, except those in T
 </pre> The first subpattern is for positive numbers. The second (optional) subpattern is for negative numbers.<p>
Not indicated in the BNF syntax above:<p>
<ul>
<li>
The grouping separator ',' can occur inside the integer and sigDigits elements, between any two pattern characters of that element, as long as the integer or sigDigits element is not followed by the exponent element.<p>
</li>
<li>
Two grouping intervals are recognized: That between the decimal point and the first grouping symbol, and that between the first and second grouping symbols. These intervals are identical in most locales, but in some locales they differ. For example, the pattern "#,##,###" formats the number 123456789 as "12,34,56,789".<p>
</li>
<li>
The pad specifier <code>padSpec</code> may appear before the prefix, after the prefix, before the suffix, after the suffix, or not at all.<p>
</li>
<li>
In place of '0', the digits '1' through '9' may be used to indicate a rounding increment. </li>
</ul>
<p>
<b>Parsing</b><p>
<a class="el" href="classDecimalFormat.html">DecimalFormat</a> parses all Unicode characters that represent decimal digits, as defined by <a class="el" href="uchar_8h.html#fd684aeceb3d5c45028fd3e89d91a193">u_charDigitValue()</a>. In addition, <a class="el" href="classDecimalFormat.html">DecimalFormat</a> also recognizes as digits the ten consecutive characters starting with the localized zero digit defined in the <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> object. During formatting, the DecimalFormatSymbols-based digits are output.<p>
During parsing, grouping separators are ignored.<p>
If parse(UnicodeString&amp;,Formattable&amp;,ParsePosition&amp;) fails to parse a string, it leaves the parse position unchanged. The convenience method parse(UnicodeString&amp;,Formattable&amp;,UErrorCode&amp;) indicates parse failure by setting a failing UErrorCode.<p>
<b>Formatting</b><p>
Formatting is guided by several parameters, all of which can be specified either using a pattern or using the API. The following description applies to formats that do not use <a href="#sci">scientific notation</a> or <a href="#sigdig">significant digits</a>.<p>
<ul>
<li>
If the number of actual integer digits exceeds the <em>maximum integer digits</em>, then only the least significant digits are shown. For example, 1997 is formatted as "97" if the maximum integer digits is set to 2.<p>
</li>
<li>
If the number of actual integer digits is less than the <em>minimum integer digits</em>, then leading zeros are added. For example, 1997 is formatted as "01997" if the minimum integer digits is set to 5.<p>
</li>
<li>
If the number of actual fraction digits exceeds the <em>maximum fraction digits</em>, then half-even rounding it performed to the maximum fraction digits. For example, 0.125 is formatted as "0.12" if the maximum fraction digits is 2. This behavior can be changed by specifying a rounding increment and a rounding mode.<p>
</li>
<li>
If the number of actual fraction digits is less than the <em>minimum fraction digits</em>, then trailing zeros are added. For example, 0.125 is formatted as "0.1250" if the mimimum fraction digits is set to 4.<p>
</li>
<li>
Trailing fractional zeros are not displayed if they occur <em>j</em> positions after the decimal, where <em>j</em> is less than the maximum fraction digits. For example, 0.10004 is formatted as "0.1" if the maximum fraction digits is four or less. </li>
</ul>
<p>
<b>Special Values</b><p>
<code>NaN</code> is represented as a single character, typically <code>\uFFFD</code>. This character is determined by the <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> object. This is the only value for which the prefixes and suffixes are not used.<p>
Infinity is represented as a single character, typically <code>\u221E</code>, with the positive or negative prefixes and suffixes applied. The infinity character is determined by the <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> object.<p>
<a class="anchor" name="sci"></a><b>Scientific Notation</b><p>
Numbers in scientific notation are expressed as the product of a mantissa and a power of ten, for example, 1234 can be expressed as 1.234 x 10<sup>3</sup>. The mantissa is typically in the half-open interval [1.0, 10.0) or sometimes [0.0, 1.0), but it need not be. <a class="el" href="classDecimalFormat.html">DecimalFormat</a> supports arbitrary mantissas. <a class="el" href="classDecimalFormat.html">DecimalFormat</a> can be instructed to use scientific notation through the API or through the pattern. In a pattern, the exponent character immediately followed by one or more digit characters indicates scientific notation. Example: "0.###E0" formats the number 1234 as "1.234E3".<p>
<ul>
<li>
The number of digit characters after the exponent character gives the minimum exponent digit count. There is no maximum. Negative exponents are formatted using the localized minus sign, <em>not</em> the prefix and suffix from the pattern. This allows patterns such as "0.###E0 m/s". To prefix positive exponents with a localized plus sign, specify '+' between the exponent and the digits: "0.###E+0" will produce formats "1E+1", "1E+0", "1E-1", etc. (In localized patterns, use the localized plus sign rather than '+'.)<p>
</li>
<li>
The minimum number of integer digits is achieved by adjusting the exponent. Example: 0.00123 formatted with "00.###E0" yields "12.3E-4". This only happens if there is no maximum number of integer digits. If there is a maximum, then the minimum number of integer digits is fixed at one.<p>
</li>
<li>
The maximum number of integer digits, if present, specifies the exponent grouping. The most common use of this is to generate <em>engineering notation</em>, in which the exponent is a multiple of three, e.g., "##0.###E0". The number 12345 is formatted using "##0.####E0" as "12.345E3".<p>
</li>
<li>
When using scientific notation, the formatter controls the digit counts using significant digits logic. The maximum number of significant digits limits the total number of integer and fraction digits that will be shown in the mantissa; it does not affect parsing. For example, 12345 formatted with "##0.##E0" is "12.3E3". See the section on significant digits for more details.<p>
</li>
<li>
The number of significant digits shown is determined as follows: If <a class="el" href="classDecimalFormat.html#1e5f397ae8f322bd10165634c36ad51d">areSignificantDigitsUsed()</a> returns false, then the minimum number of significant digits shown is one, and the maximum number of significant digits shown is the sum of the <em>minimum integer</em> and <em>maximum fraction</em> digits, and is unaffected by the maximum integer digits. If this sum is zero, then all significant digits are shown. If <a class="el" href="classDecimalFormat.html#1e5f397ae8f322bd10165634c36ad51d">areSignificantDigitsUsed()</a> returns true, then the significant digit counts are specified by <a class="el" href="classDecimalFormat.html#68888fdef31bbb1c5d0169a15eab6ebb">getMinimumSignificantDigits()</a> and <a class="el" href="classDecimalFormat.html#f6d7c571404f51b43eae3c31e85e1012">getMaximumSignificantDigits()</a>. In this case, the number of integer digits is fixed at one, and there is no exponent grouping.<p>
</li>
<li>
Exponential patterns may not contain grouping separators. </li>
</ul>
<p>
<a class="anchor" name="sigdig"></a><b>Significant Digits</b><p>
<code><a class="el" href="classDecimalFormat.html">DecimalFormat</a></code> has two ways of controlling how many digits are shows: (a) significant digits counts, or (b) integer and fraction digit counts. Integer and fraction digit counts are described above. When a formatter is using significant digits counts, the number of integer and fraction digits is not specified directly, and the formatter settings for these counts are ignored. Instead, the formatter uses however many integer and fraction digits are required to display the specified number of significant digits. Examples:<p>
<table border="0" cellspacing="3" cellpadding="0>">
<tr bgcolor="#ccccff">
<td align="left>">Pattern </td><td align="left>">Minimum significant digits </td><td align="left>">Maximum significant digits </td><td align="left>">Number </td><td align="left>">Output of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> </td></tr>
<tr valign="top>">
<td><code>@@@</code> </td><td>3 </td><td>3 </td><td>12345 </td><td><code>12300</code> </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>@@@</code> </td><td>3 </td><td>3 </td><td>0.12345 </td><td><code>0.123</code> </td></tr>
<tr valign="top>">
<td><code>@@##</code> </td><td>2 </td><td>4 </td><td>3.14159 </td><td><code>3.142</code> </td></tr>
<tr valign="top" bgcolor="#eeeeff">
<td><code>@@##</code> </td><td>2 </td><td>4 </td><td>1.23004 </td><td><code>1.23</code> </td></tr>
</table>
<p>
<ul>
<li>
Significant digit counts may be expressed using patterns that specify a minimum and maximum number of significant digits. These are indicated by the <code>'@'</code> and <code>'#'</code> characters. The minimum number of significant digits is the number of <code>'@'</code> characters. The maximum number of significant digits is the number of <code>'@'</code> characters plus the number of <code>'#'</code> characters following on the right. For example, the pattern <code>"@@@"</code> indicates exactly 3 significant digits. The pattern <code>"@##"</code> indicates from 1 to 3 significant digits. Trailing zero digits to the right of the decimal separator are suppressed after the minimum number of significant digits have been shown. For example, the pattern <code>"@##"</code> formats the number 0.1203 as <code>"0.12"</code>.<p>
</li>
<li>
If a pattern uses significant digits, it may not contain a decimal separator, nor the <code>'0'</code> pattern character. Patterns such as <code>"@00"</code> or <code>"@.###"</code> are disallowed.<p>
</li>
<li>
Any number of <code>'#'</code> characters may be prepended to the left of the leftmost <code>'@'</code> character. These have no effect on the minimum and maximum significant digits counts, but may be used to position grouping separators. For example, <code>"#,#@#"</code> indicates a minimum of one significant digits, a maximum of two significant digits, and a grouping size of three.<p>
</li>
<li>
In order to enable significant digits formatting, use a pattern containing the <code>'@'</code> pattern character. Alternatively, call setSignificantDigitsUsed(TRUE).<p>
</li>
<li>
In order to disable significant digits formatting, use a pattern that does not contain the <code>'@'</code> pattern character. Alternatively, call setSignificantDigitsUsed(FALSE).<p>
</li>
<li>
The number of significant digits has no effect on parsing.<p>
</li>
<li>
Significant digits may be used together with exponential notation. Such patterns are equivalent to a normal exponential pattern with a minimum and maximum integer digit count of one, a minimum fraction digit count of <code><a class="el" href="classDecimalFormat.html#68888fdef31bbb1c5d0169a15eab6ebb">getMinimumSignificantDigits()</a> - 1</code>, and a maximum fraction digit count of <code><a class="el" href="classDecimalFormat.html#f6d7c571404f51b43eae3c31e85e1012">getMaximumSignificantDigits()</a> - 1</code>. For example, the pattern <code>"@@###E0"</code> is equivalent to <code>"0.0###E0"</code>.<p>
</li>
<li>
If signficant digits are in use, then the integer and fraction digit counts, as set via the API, are ignored. If significant digits are not in use, then the signficant digit counts, as set via the API, are ignored.<p>
</li>
</ul>
<p>
<b>Padding</b><p>
<a class="el" href="classDecimalFormat.html">DecimalFormat</a> supports padding the result of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> to a specific width. Padding may be specified either through the API or through the pattern syntax. In a pattern the pad escape character, followed by a single pad character, causes padding to be parsed and formatted. The pad escape character is '*' in unlocalized patterns, and can be localized using <a class="el" href="classDecimalFormatSymbols.html#4c2a2e4ee6b5ab0e527565d8a252a9b3">DecimalFormatSymbols::setSymbol()</a> with a <a class="el" href="classDecimalFormatSymbols.html#165fe72713f240477c2d4572a77997e57e2aaf6cc78c1f63bda0bd7295bc97c3">DecimalFormatSymbols::kPadEscapeSymbol</a> selector. For example, <code>"$*x#,##0.00"</code> formats 123 to <code>"$xx123.00"</code>, and 1234 to <code>"$1,234.00"</code>.<p>
<ul>
<li>
When padding is in effect, the width of the positive subpattern, including prefix and suffix, determines the format width. For example, in the pattern <code>"* #0 o''clock"</code>, the format width is 10.<p>
</li>
<li>
The width is counted in 16-bit code units (UChars).<p>
</li>
<li>
Some parameters which usually do not matter have meaning when padding is used, because the pattern width is significant with padding. In the pattern "* ##,##,#,##0.##", the format width is 14. The initial characters "##,##," do not affect the grouping size or maximum integer digits, but they do affect the format width.<p>
</li>
<li>
Padding may be inserted at one of four locations: before the prefix, after the prefix, before the suffix, or after the suffix. If padding is specified in any other location, <a class="el" href="classDecimalFormat.html#f2d13a3de17cf4085cc82f74a915af6d">applyPattern()</a> sets a failing UErrorCode. If there is no prefix, before the prefix and after the prefix are equivalent, likewise for the suffix.<p>
</li>
<li>
When specified in a pattern, the 32-bit code point immediately following the pad escape is the pad character. This may be any character, including a special pattern character. That is, the pad escape <em>escapes</em> the following character. If there is no character after the pad escape, then the pattern is illegal.<p>
</li>
</ul>
<p>
<b>Rounding</b><p>
<a class="el" href="classDecimalFormat.html">DecimalFormat</a> supports rounding to a specific increment. For example, 1230 rounded to the nearest 50 is 1250. 1.234 rounded to the nearest 0.65 is 1.3. The rounding increment may be specified through the API or in a pattern. To specify a rounding increment in a pattern, include the increment in the pattern itself. "#,#50" specifies a rounding increment of 50. "#,##0.05" specifies a rounding increment of 0.05.<p>
<ul>
<li>
Rounding only affects the string produced by formatting. It does not affect parsing or change any numerical values.<p>
</li>
<li>
A <em>rounding mode</em> determines how values are rounded; see <a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">DecimalFormat::ERoundingMode</a>. Rounding increments specified in patterns use the default mode, <a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e766aca6588fc0e4dbf998f1218c650a8e">DecimalFormat::kRoundHalfEven</a>.<p>
</li>
<li>
Some locales use rounding in their currency formats to reflect the smallest currency denomination.<p>
</li>
<li>
In a pattern, digits '1' through '9' specify rounding, but otherwise behave identically to digit '0'. </li>
</ul>
<p>
<b>Synchronization</b><p>
<a class="el" href="classDecimalFormat.html">DecimalFormat</a> objects are not synchronized. Multiple threads should not access one formatter concurrently.<p>
<b>Subclassing</b><p>
<em>User subclasses are not supported.</em> While clients may write subclasses, such code will not necessarily work and will not be guaranteed to work stably from release to release. 
<p>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l00603">603</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="00f3e49ce35985df764feb658371b7e7"></a><!-- doxytag: member="DecimalFormat::ERoundingMode" ref="00f3e49ce35985df764feb658371b7e7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">DecimalFormat::ERoundingMode</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Rounding mode. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002238">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e7f146ca0a8b344f70cecb3803ae0f570b"></a><!-- doxytag: member="kRoundCeiling" ref="00f3e49ce35985df764feb658371b7e7f146ca0a8b344f70cecb3803ae0f570b" args="" -->kRoundCeiling</em>&nbsp;</td><td>
Round towards positive infinity. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e7bfbc6479dc0e17828284c1c9defb1a6b"></a><!-- doxytag: member="kRoundFloor" ref="00f3e49ce35985df764feb658371b7e7bfbc6479dc0e17828284c1c9defb1a6b" args="" -->kRoundFloor</em>&nbsp;</td><td>
Round towards negative infinity. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e72533285a97586f0dbd50b800fd6122c8"></a><!-- doxytag: member="kRoundDown" ref="00f3e49ce35985df764feb658371b7e72533285a97586f0dbd50b800fd6122c8" args="" -->kRoundDown</em>&nbsp;</td><td>
Round towards zero. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e7704fbaff22d357bf8e050996bd685301"></a><!-- doxytag: member="kRoundUp" ref="00f3e49ce35985df764feb658371b7e7704fbaff22d357bf8e050996bd685301" args="" -->kRoundUp</em>&nbsp;</td><td>
Round away from zero. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e766aca6588fc0e4dbf998f1218c650a8e"></a><!-- doxytag: member="kRoundHalfEven" ref="00f3e49ce35985df764feb658371b7e766aca6588fc0e4dbf998f1218c650a8e" args="" -->kRoundHalfEven</em>&nbsp;</td><td>
Round towards the nearest integer, or towards the nearest even integer if equidistant. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e7a6798557d8ca6479fcaf9f413f149471"></a><!-- doxytag: member="kRoundHalfDown" ref="00f3e49ce35985df764feb658371b7e7a6798557d8ca6479fcaf9f413f149471" args="" -->kRoundHalfDown</em>&nbsp;</td><td>
Round towards the nearest integer, or towards zero if equidistant. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="00f3e49ce35985df764feb658371b7e7b7ea67fe0f5eb967ab3e21ec59aec926"></a><!-- doxytag: member="kRoundHalfUp" ref="00f3e49ce35985df764feb658371b7e7b7ea67fe0f5eb967ab3e21ec59aec926" args="" -->kRoundHalfUp</em>&nbsp;</td><td>
Round towards the nearest integer, or away from zero if equidistant. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l00609">609</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
</div>
</div><p>
<a class="anchor" name="d9cabc444ffb51c72c4c11be6d004e21"></a><!-- doxytag: member="DecimalFormat::EPadPosition" ref="d9cabc444ffb51c72c4c11be6d004e21" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">DecimalFormat::EPadPosition</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pad position. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002239">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l00627">627</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="8a421e9ca43a31cb308c8052cf82850e"></a><!-- doxytag: member="DecimalFormat::DecimalFormat" ref="8a421e9ca43a31cb308c8052cf82850e" args="(UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalFormat::DecimalFormat           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> using the default pattern and symbols for the default locale. 
<p>
This is a convenient way to obtain a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> when internationalization is not the main concern. <p>
To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html">NumberFormat</a> such as createInstance. These factories will return the most appropriate sub-class of <a class="el" href="classNumberFormat.html">NumberFormat</a> for a given locale. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code. If the pattern is invalid this will be set to a failure code. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002240">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="aadc21eab2ef6252f25eada5440e3c65"></a><!-- doxytag: member="DecimalFormat::DecimalFormat" ref="aadc21eab2ef6252f25eada5440e3c65" args="(const UnicodeString &amp;pattern, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalFormat::DecimalFormat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and the symbols for the default locale. 
<p>
This is a convenient way to obtain a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> when internationalization is not the main concern. <p>
To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html">NumberFormat</a> such as createInstance. These factories will return the most appropriate sub-class of <a class="el" href="classNumberFormat.html">NumberFormat</a> for a given locale. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>A non-localized pattern string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code. If the pattern is invalid this will be set to a failure code. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002241">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="eac00ab9c6c9bd9bf08d00db52ec5512"></a><!-- doxytag: member="DecimalFormat::DecimalFormat" ref="eac00ab9c6c9bd9bf08d00db52ec5512" args="(const UnicodeString &amp;pattern, DecimalFormatSymbols *symbolsToAdopt, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalFormat::DecimalFormat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *&nbsp;</td>
          <td class="paramname"> <em>symbolsToAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and symbols. 
<p>
Use this constructor when you need to completely customize the behavior of the format. <p>
To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html">NumberFormat</a> such as createInstance or createCurrencyInstance. If you need only minor adjustments to a standard format, you can modify the format returned by a <a class="el" href="classNumberFormat.html">NumberFormat</a> factory method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>a non-localized pattern string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>symbolsToAdopt</em>&nbsp;</td><td>the set of symbols to be used. The caller should not delete this object after making this call. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code. If the pattern is invalid this will be set to a failure code. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002242">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f5ef6767e465d243dddea9d8d3bd9a57"></a><!-- doxytag: member="DecimalFormat::DecimalFormat" ref="f5ef6767e465d243dddea9d8d3bd9a57" args="(const UnicodeString &amp;pattern, DecimalFormatSymbols *symbolsToAdopt, UParseError &amp;parseError, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalFormat::DecimalFormat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *&nbsp;</td>
          <td class="paramname"> <em>symbolsToAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>parseError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and symbols. 
<p>
Use this constructor when you need to completely customize the behavior of the format. <p>
To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html">NumberFormat</a> such as createInstance or createCurrencyInstance. If you need only minor adjustments to a standard format, you can modify the format returned by a <a class="el" href="classNumberFormat.html">NumberFormat</a> factory method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>a non-localized pattern string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>symbolsToAdopt</em>&nbsp;</td><td>the set of symbols to be used. The caller should not delete this object after making this call. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parseError</em>&nbsp;</td><td>Output param to receive errors occured during parsing </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code. If the pattern is invalid this will be set to a failure code. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002243">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="6202bc1606eb3800758ec33fc05b6d2b"></a><!-- doxytag: member="DecimalFormat::DecimalFormat" ref="6202bc1606eb3800758ec33fc05b6d2b" args="(const UnicodeString &amp;pattern, const DecimalFormatSymbols &amp;symbols, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalFormat::DecimalFormat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>symbols</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classDecimalFormat.html">DecimalFormat</a> from the given pattern and symbols. 
<p>
Use this constructor when you need to completely customize the behavior of the format. <p>
To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html">NumberFormat</a> such as createInstance or createCurrencyInstance. If you need only minor adjustments to a standard format, you can modify the format returned by a <a class="el" href="classNumberFormat.html">NumberFormat</a> factory method.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>a non-localized pattern string </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>symbols</em>&nbsp;</td><td>the set of symbols to be used </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code. If the pattern is invalid this will be set to a failure code. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002244">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b9370805544903b8a5040468619a34ed"></a><!-- doxytag: member="DecimalFormat::DecimalFormat" ref="b9370805544903b8a5040468619a34ed" args="(const DecimalFormat &amp;source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DecimalFormat::DecimalFormat           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>the <a class="el" href="classDecimalFormat.html">DecimalFormat</a> object to be copied from. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002245">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1c39af86d6186c5ffd8ae49d32a87cd6"></a><!-- doxytag: member="DecimalFormat::~DecimalFormat" ref="1c39af86d6186c5ffd8ae49d32a87cd6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual DecimalFormat::~DecimalFormat           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002247">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="80ae4009d0a89aaa339e38328c5f5f31"></a><!-- doxytag: member="DecimalFormat::operator=" ref="80ae4009d0a89aaa339e38328c5f5f31" args="(const DecimalFormat &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDecimalFormat.html">DecimalFormat</a>&amp; DecimalFormat::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rhs</em>&nbsp;</td><td>the <a class="el" href="classDecimalFormat.html">DecimalFormat</a> object to be copied. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002246">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b708755522b88a31695ed54eac6f1bbe"></a><!-- doxytag: member="DecimalFormat::clone" ref="b708755522b88a31695ed54eac6f1bbe" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classFormat.html">Format</a>* DecimalFormat::clone           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clone this <a class="el" href="classFormat.html">Format</a> object polymorphically. 
<p>
The caller owns the result and should delete it when done.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a polymorphic copy of this <a class="el" href="classDecimalFormat.html">DecimalFormat</a>. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002248">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classFormat.html#a636e43fefeb57ed01add9db32dd91cb">Format</a>.
</div>
</div><p>
<a class="anchor" name="3d3a2d71fcf817ddc1473e9e5c59756c"></a><!-- doxytag: member="DecimalFormat::operator==" ref="3d3a2d71fcf817ddc1473e9e5c59756c" args="(const Format &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormat.html">Format</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return true if the given <a class="el" href="classFormat.html">Format</a> objects are semantically equal. 
<p>
Objects of different subclasses are considered unequal.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>the object to be compared with. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the given <a class="el" href="classFormat.html">Format</a> objects are semantically equal. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002249">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#97f4f81efd4747024deaf88ceb4d80a3">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="ed19f9279def60133b3122a2435ea568"></a><!-- doxytag: member="DecimalFormat::format" ref="ed19f9279def60133b3122a2435ea568" args="(double number, UnicodeString &amp;appendTo, FieldPosition &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classFormat.html">Format</a> a double or long number using base-10 representation. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002250">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classNumberFormat.html#7078d52baaa94ddf6e0680a4bc2f542a">NumberFormat</a>.
<p>
Referenced by <a class="el" href="decimfmt_8h-source.html#l01879">format()</a>.
</div>
</div><p>
<a class="anchor" name="a2bab620a29369c545e85d544d73ad05"></a><!-- doxytag: member="DecimalFormat::format" ref="a2bab620a29369c545e85d544d73ad05" args="(int32_t number, UnicodeString &amp;appendTo, FieldPosition &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classFormat.html">Format</a> a long number using base-10 representation. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002251">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classNumberFormat.html#caaca11795df052b165e82261b7825f1">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="4239fefb073af94327ccdac88bb5bf3e"></a><!-- doxytag: member="DecimalFormat::format" ref="4239fefb073af94327ccdac88bb5bf3e" args="(int64_t number, UnicodeString &amp;appendTo, FieldPosition &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a>&nbsp;</td>
          <td class="paramname"> <em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classFormat.html">Format</a> an int64 number using base-10 representation. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002252">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#c64ccd4841f822f601f2533e63e0592b">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="1b34b7f84188cc9f534ef96b83c99d64"></a><!-- doxytag: member="DecimalFormat::format" ref="1b34b7f84188cc9f534ef96b83c99d64" args="(const Formattable &amp;obj, UnicodeString &amp;appendTo, FieldPosition &amp;pos, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFieldPosition.html">FieldPosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<a class="el" href="classFormat.html">Format</a> a <a class="el" href="classFormattable.html">Formattable</a> using base-10 representation. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Error code indicating success or failure. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002253">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#848c716acd547e14018fd6713c6c58f2">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="af9c44cbcc2b7f0279dcc6f121b8bf13"></a><!-- doxytag: member="DecimalFormat::format" ref="af9c44cbcc2b7f0279dcc6f121b8bf13" args="(const Formattable &amp;obj, UnicodeString &amp;appendTo, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method. 
<p>
Formats an object to produce a string.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>The object to format. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output parameter filled in with success or failure status. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002254">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#67d754f52d336d911454e97ba32654de">NumberFormat</a>.
<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01870">1870</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
<p>
References <a class="el" href="classNumberFormat.html#848c716acd547e14018fd6713c6c58f2">NumberFormat::format()</a>.
</div>
</div><p>
<a class="anchor" name="c5b6d7339b4ea565dee15147cd29df09"></a><!-- doxytag: member="DecimalFormat::format" ref="c5b6d7339b4ea565dee15147cd29df09" args="(double number, UnicodeString &amp;appendTo) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method. 
<p>
<a class="el" href="classFormat.html">Format</a> a double number.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002255">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#d76767b9eef2144246afe02e28c73644">NumberFormat</a>.
<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01879">1879</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
<p>
References <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a>.
</div>
</div><p>
<a class="anchor" name="10d4385eb16ad17b731837d599601852"></a><!-- doxytag: member="DecimalFormat::format" ref="10d4385eb16ad17b731837d599601852" args="(int32_t number, UnicodeString &amp;appendTo) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method. 
<p>
<a class="el" href="classFormat.html">Format</a> a long number. These methods call the <a class="el" href="classNumberFormat.html">NumberFormat</a> pure virtual <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> methods with the default <a class="el" href="classFieldPosition.html">FieldPosition</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002256">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#25076f2cd93aba1a2f7ab08e86a1a84b">NumberFormat</a>.
<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01886">1886</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
<p>
References <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a>.
</div>
</div><p>
<a class="anchor" name="5ba07cd2c17b21892d72a7a1ec9f184a"></a><!-- doxytag: member="DecimalFormat::format" ref="5ba07cd2c17b21892d72a7a1ec9f184a" args="(int64_t number, UnicodeString &amp;appendTo) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::format           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#dec1df1b8b51cb32b77e5b86fff46471">int64_t</a>&nbsp;</td>
          <td class="paramname"> <em>number</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>appendTo</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Redeclared <a class="el" href="classNumberFormat.html">NumberFormat</a> method. 
<p>
<a class="el" href="classFormat.html">Format</a> an int64 number. These methods call the <a class="el" href="classNumberFormat.html">NumberFormat</a> pure virtual <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> methods with the default <a class="el" href="classFieldPosition.html">FieldPosition</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>number</em>&nbsp;</td><td>The value to be formatted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>appendTo</em>&nbsp;</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Reference to 'appendTo' parameter. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002257">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#59993f72a96cc591f9fb90a24290a01e">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="fe6f4084b4a6ccff6977501d90011fa4"></a><!-- doxytag: member="DecimalFormat::parse" ref="fe6f4084b4a6ccff6977501d90011fa4" args="(const UnicodeString &amp;text, Formattable &amp;result, ParsePosition &amp;parsePosition) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::parse           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>parsePosition</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse the given string using this object's choices. 
<p>
The method does string comparisons to try to find an optimal match. If no object can be parsed, index is unchanged, and NULL is returned. The result is returned as the most parsimonious type of <a class="el" href="classFormattable.html">Formattable</a> that will accomodate all of the necessary precision. For example, if the result is exactly 12, it will be returned as a long. However, if it is 1.5, it will be returned as a double.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The text to be parsed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td><a class="el" href="classFormattable.html">Formattable</a> to be set to the parse result. If parse fails, return contents are undefined. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parsePosition</em>&nbsp;</td><td>The position to start parsing at on input. On output, moved to after the last successfully parse character. On parse failure, does not change. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classFormattable.html">Formattable</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002258">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classNumberFormat.html#b2c59c0b036a413b6735c6d50b88ae25">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="9c0309ac314fe3ec8a7cc4b50b99940a"></a><!-- doxytag: member="DecimalFormat::parse" ref="9c0309ac314fe3ec8a7cc4b50b99940a" args="(const UnicodeString &amp;text, Formattable &amp;result, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::parse           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parse the given string using this object's choices. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>The text to be parsed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td><a class="el" href="classFormattable.html">Formattable</a> to be set to the parse result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output parameter filled in with success or failure status. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002259">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#01ac6e0a7a47b2d8e387752d1a024b29">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="a83789398c1b9baa69aa31a5391eadf2"></a><!-- doxytag: member="DecimalFormat::parseCurrency" ref="a83789398c1b9baa69aa31a5391eadf2" args="(const UnicodeString &amp;text, Formattable &amp;result, ParsePosition &amp;pos) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classFormattable.html">Formattable</a>&amp; DecimalFormat::parseCurrency           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classFormattable.html">Formattable</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classParsePosition.html">ParsePosition</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Parses text from the given string as a currency amount. 
<p>
Unlike the <a class="el" href="classDecimalFormat.html#fe6f4084b4a6ccff6977501d90011fa4">parse()</a> method, this method will attempt to parse a generic currency name, searching for a match of this object's locale's currency display names, or for a 3-letter ISO currency code. This method will fail if this format is not a currency format, that is, if it does not contain the currency pattern symbol (U+00A4) in its prefix or suffix.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>text</em>&nbsp;</td><td>the string to parse </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>output parameter to receive result. This will have its currency set to the parsed ISO currency code. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos</em>&nbsp;</td><td>input-output position; on input, the position within text to match; must have 0 &lt;= pos.getIndex() &lt; <a class="el" href="ucnv_8h.html#c2d59ccd7e4666434391eab17b0e304f">text.length()</a>; on output, the position after the last matched character. If the parse fails, the position in unchanged upon output. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a reference to result </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000135">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#08bffcf90d1cc63882ab686b6b271f9b">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="32cc0bfc2cffa8cb3978a67555fe7253"></a><!-- doxytag: member="DecimalFormat::getDecimalFormatSymbols" ref="32cc0bfc2cffa8cb3978a67555fe7253" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a>* DecimalFormat::getDecimalFormatSymbols           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the decimal format symbols, which is generally not changed by the programmer or user. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>desired <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002260">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="13825fd336e4de55dfc5cd13616430b2"></a><!-- doxytag: member="DecimalFormat::adoptDecimalFormatSymbols" ref="13825fd336e4de55dfc5cd13616430b2" args="(DecimalFormatSymbols *symbolsToAdopt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::adoptDecimalFormatSymbols           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *&nbsp;</td>
          <td class="paramname"> <em>symbolsToAdopt</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the decimal format symbols, which is generally not changed by the programmer or user. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>symbolsToAdopt</em>&nbsp;</td><td><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> to be adopted. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002261">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="973c2dd6666737ba8d91384ea77ff26b"></a><!-- doxytag: member="DecimalFormat::setDecimalFormatSymbols" ref="973c2dd6666737ba8d91384ea77ff26b" args="(const DecimalFormatSymbols &amp;symbols)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setDecimalFormatSymbols           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>symbols</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the decimal format symbols, which is generally not changed by the programmer or user. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>symbols</em>&nbsp;</td><td><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a>. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002262">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ccb2ef21b586a75451b11cc642014ddb"></a><!-- doxytag: member="DecimalFormat::getPositivePrefix" ref="ccb2ef21b586a75451b11cc642014ddb" args="(UnicodeString &amp;result) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::getPositivePrefix           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the positive prefix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param which will receive the positive prefix. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. Examples: +123, $123, sFr123 </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002263">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="955034e72cf166f9b9c933b2e7d0c0ce"></a><!-- doxytag: member="DecimalFormat::setPositivePrefix" ref="955034e72cf166f9b9c933b2e7d0c0ce" args="(const UnicodeString &amp;newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setPositivePrefix           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the positive prefix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the the positive prefix to be set. Examples: +123, $123, sFr123 </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002264">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="723610a9d2dec9951295a001f07ed51c"></a><!-- doxytag: member="DecimalFormat::getNegativePrefix" ref="723610a9d2dec9951295a001f07ed51c" args="(UnicodeString &amp;result) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::getNegativePrefix           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the negative prefix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param which will receive the negative prefix. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. Examples: -123, ($123) (with negative suffix), sFr-123 </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002265">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="923f9be542ebdbdf07f26dd849a6047b"></a><!-- doxytag: member="DecimalFormat::setNegativePrefix" ref="923f9be542ebdbdf07f26dd849a6047b" args="(const UnicodeString &amp;newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setNegativePrefix           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the negative prefix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the the negative prefix to be set. Examples: -123, ($123) (with negative suffix), sFr-123 </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002266">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="532d3195af00b41c20d7712470302a64"></a><!-- doxytag: member="DecimalFormat::getPositiveSuffix" ref="532d3195af00b41c20d7712470302a64" args="(UnicodeString &amp;result) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::getPositiveSuffix           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the positive suffix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param which will receive the positive suffix. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. Example: 123% </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002267">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cc7ebd164e98f56a044861a77eb5b7b0"></a><!-- doxytag: member="DecimalFormat::setPositiveSuffix" ref="cc7ebd164e98f56a044861a77eb5b7b0" args="(const UnicodeString &amp;newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setPositiveSuffix           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the positive suffix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the positive suffix to be set. Example: 123% </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002268">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="079be906d4852860a196687e9cb1c46c"></a><!-- doxytag: member="DecimalFormat::getNegativeSuffix" ref="079be906d4852860a196687e9cb1c46c" args="(UnicodeString &amp;result) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::getNegativeSuffix           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the negative suffix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param which will receive the negative suffix. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. Examples: -123%, ($123) (with positive suffixes) </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002269">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ee6c5f9d27a8df1d33bc65d9a5b546bf"></a><!-- doxytag: member="DecimalFormat::setNegativeSuffix" ref="ee6c5f9d27a8df1d33bc65d9a5b546bf" args="(const UnicodeString &amp;newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setNegativeSuffix           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the negative suffix. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the negative suffix to be set. Examples: 123% </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002270">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a7ed11a9a3bfecf78bf0323c09a89ce5"></a><!-- doxytag: member="DecimalFormat::getMultiplier" ref="a7ed11a9a3bfecf78bf0323c09a89ce5" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DecimalFormat::getMultiplier           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the multiplier for use in percent, permill, etc. 
<p>
For a percentage, set the suffixes to have "%" and the multiplier to be 100. (For Arabic, use arabic percent symbol). For a permill, set the suffixes to have "\\u2031" and the multiplier to be 1000.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the multiplier for use in percent, permill, etc. Examples: with 100, 1.23 -&gt; "123", and "123" -&gt; 1.23 </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002271">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="eaa002ef2300082f24802df929162f83"></a><!-- doxytag: member="DecimalFormat::setMultiplier" ref="eaa002ef2300082f24802df929162f83" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setMultiplier           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the multiplier for use in percent, permill, etc. 
<p>
For a percentage, set the suffixes to have "%" and the multiplier to be 100. (For Arabic, use arabic percent symbol). For a permill, set the suffixes to have "\\u2031" and the multiplier to be 1000.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the multiplier for use in percent, permill, etc. Examples: with 100, 1.23 -&gt; "123", and "123" -&gt; 1.23 </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002272">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2625aaab4e08c60f390f72ba3ef512a2"></a><!-- doxytag: member="DecimalFormat::getRoundingIncrement" ref="2625aaab4e08c60f390f72ba3ef512a2" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double DecimalFormat::getRoundingIncrement           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the rounding increment. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A positive rounding increment, or 0.0 if rounding is not in effect. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#7d2a985abd8e4ac25c77e94f7f8ae2e7">setRoundingIncrement</a> <p>
<a class="el" href="classDecimalFormat.html#9dd8911ea74be813c2446ee7a6657385">getRoundingMode</a> <p>
<a class="el" href="classDecimalFormat.html#4c4239c9afd29b26ab405efda8d7f993">setRoundingMode</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002273">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7d2a985abd8e4ac25c77e94f7f8ae2e7"></a><!-- doxytag: member="DecimalFormat::setRoundingIncrement" ref="7d2a985abd8e4ac25c77e94f7f8ae2e7" args="(double newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setRoundingIncrement           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the rounding increment. 
<p>
This method also controls whether rounding is enabled. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>A positive rounding increment, or 0.0 to disable rounding. Negative increments are equivalent to 0.0. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#2625aaab4e08c60f390f72ba3ef512a2">getRoundingIncrement</a> <p>
<a class="el" href="classDecimalFormat.html#9dd8911ea74be813c2446ee7a6657385">getRoundingMode</a> <p>
<a class="el" href="classDecimalFormat.html#4c4239c9afd29b26ab405efda8d7f993">setRoundingMode</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002274">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="9dd8911ea74be813c2446ee7a6657385"></a><!-- doxytag: member="DecimalFormat::getRoundingMode" ref="9dd8911ea74be813c2446ee7a6657385" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> DecimalFormat::getRoundingMode           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the rounding mode. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A rounding mode </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#7d2a985abd8e4ac25c77e94f7f8ae2e7">setRoundingIncrement</a> <p>
<a class="el" href="classDecimalFormat.html#2625aaab4e08c60f390f72ba3ef512a2">getRoundingIncrement</a> <p>
<a class="el" href="classDecimalFormat.html#4c4239c9afd29b26ab405efda8d7f993">setRoundingMode</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002275">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c4239c9afd29b26ab405efda8d7f993"></a><!-- doxytag: member="DecimalFormat::setRoundingMode" ref="4c4239c9afd29b26ab405efda8d7f993" args="(ERoundingMode roundingMode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setRoundingMode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDecimalFormat.html#00f3e49ce35985df764feb658371b7e7">ERoundingMode</a>&nbsp;</td>
          <td class="paramname"> <em>roundingMode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the rounding mode. 
<p>
This has no effect unless the rounding increment is greater than zero. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>roundingMode</em>&nbsp;</td><td>A rounding mode </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#7d2a985abd8e4ac25c77e94f7f8ae2e7">setRoundingIncrement</a> <p>
<a class="el" href="classDecimalFormat.html#2625aaab4e08c60f390f72ba3ef512a2">getRoundingIncrement</a> <p>
<a class="el" href="classDecimalFormat.html#9dd8911ea74be813c2446ee7a6657385">getRoundingMode</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002276">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="96acb157e41ca30d73f7baef3e78e0a1"></a><!-- doxytag: member="DecimalFormat::getFormatWidth" ref="96acb157e41ca30d73f7baef3e78e0a1" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DecimalFormat::getFormatWidth           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the width to which the output of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> is padded. 
<p>
The width is counted in 16-bit code units. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the format width, or zero if no padding is in effect </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#c32d9aeab3b31c4780ebbae8a338a9d0">getPadCharacterString</a> <p>
<a class="el" href="classDecimalFormat.html#23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> <p>
<a class="el" href="classDecimalFormat.html#44433620af9101170cdf90f5b56c9581">getPadPosition</a> <p>
<a class="el" href="classDecimalFormat.html#466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002277">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="16b35a9d59d21f140c31e73dbb08758f"></a><!-- doxytag: member="DecimalFormat::setFormatWidth" ref="16b35a9d59d21f140c31e73dbb08758f" args="(int32_t width)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setFormatWidth           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>width</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the width to which the output of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> is padded. 
<p>
The width is counted in 16-bit code units. This method also controls whether padding is enabled. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>width</em>&nbsp;</td><td>the width to which to pad the result of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a>, or zero to disable padding. A negative width is equivalent to 0. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#c32d9aeab3b31c4780ebbae8a338a9d0">getPadCharacterString</a> <p>
<a class="el" href="classDecimalFormat.html#23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> <p>
<a class="el" href="classDecimalFormat.html#44433620af9101170cdf90f5b56c9581">getPadPosition</a> <p>
<a class="el" href="classDecimalFormat.html#466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002278">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c32d9aeab3b31c4780ebbae8a338a9d0"></a><!-- doxytag: member="DecimalFormat::getPadCharacterString" ref="c32d9aeab3b31c4780ebbae8a338a9d0" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> DecimalFormat::getPadCharacterString           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the pad character used to pad to the format width. 
<p>
The default is ' '. <dl class="return" compact><dt><b>Returns:</b></dt><dd>a string containing the pad character. This will always have a length of one 32-bit code point. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> <p>
<a class="el" href="classDecimalFormat.html#44433620af9101170cdf90f5b56c9581">getPadPosition</a> <p>
<a class="el" href="classDecimalFormat.html#466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002279">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="23c909183f4e0ed0c938fb67a1f5b5dd"></a><!-- doxytag: member="DecimalFormat::setPadCharacter" ref="23c909183f4e0ed0c938fb67a1f5b5dd" args="(const UnicodeString &amp;padChar)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setPadCharacter           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>padChar</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the character used to pad to the format width. 
<p>
If padding is not enabled, then this will take effect if padding is later enabled. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>padChar</em>&nbsp;</td><td>a string containing the pad charcter. If the string has length 0, then the pad characer is set to ' '. Otherwise padChar.char32At(0) will be used as the pad character. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#c32d9aeab3b31c4780ebbae8a338a9d0">getPadCharacterString</a> <p>
<a class="el" href="classDecimalFormat.html#44433620af9101170cdf90f5b56c9581">getPadPosition</a> <p>
<a class="el" href="classDecimalFormat.html#466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002280">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="44433620af9101170cdf90f5b56c9581"></a><!-- doxytag: member="DecimalFormat::getPadPosition" ref="44433620af9101170cdf90f5b56c9581" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> DecimalFormat::getPadPosition           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the position at which padding will take place. 
<p>
This is the location at which padding will be inserted if the result of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> is shorter than the format width. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the pad position, one of kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, or kPadAfterSuffix. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> <p>
<a class="el" href="classDecimalFormat.html#c32d9aeab3b31c4780ebbae8a338a9d0">getPadCharacterString</a> <p>
<a class="el" href="classDecimalFormat.html#466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> <p>
kPadBeforePrefix <p>
kPadAfterPrefix <p>
kPadBeforeSuffix <p>
kPadAfterSuffix </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002281">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="466c599088e944d2f9a73d2d251af4f3"></a><!-- doxytag: member="DecimalFormat::setPadPosition" ref="466c599088e944d2f9a73d2d251af4f3" args="(EPadPosition padPos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setPadPosition           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classDecimalFormat.html#d9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a>&nbsp;</td>
          <td class="paramname"> <em>padPos</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the position at which padding will take place. 
<p>
This is the location at which padding will be inserted if the result of <a class="el" href="classDecimalFormat.html#ed19f9279def60133b3122a2435ea568">format()</a> is shorter than the format width. This has no effect unless padding is enabled. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>padPos</em>&nbsp;</td><td>the pad position, one of kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, or kPadAfterSuffix. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> <p>
<a class="el" href="classDecimalFormat.html#23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> <p>
<a class="el" href="classDecimalFormat.html#c32d9aeab3b31c4780ebbae8a338a9d0">getPadCharacterString</a> <p>
<a class="el" href="classDecimalFormat.html#44433620af9101170cdf90f5b56c9581">getPadPosition</a> <p>
kPadBeforePrefix <p>
kPadAfterPrefix <p>
kPadBeforeSuffix <p>
kPadAfterSuffix </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e27960a24003cd84116cb94d05efd893"></a><!-- doxytag: member="DecimalFormat::isScientificNotation" ref="e27960a24003cd84116cb94d05efd893" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::isScientificNotation           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return whether or not scientific notation is used. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if this object formats and parses scientific notation </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#a9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> <p>
<a class="el" href="classDecimalFormat.html#4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="280ddb4755eadd569c668844eea83ec1"></a><!-- doxytag: member="DecimalFormat::setScientificNotation" ref="280ddb4755eadd569c668844eea83ec1" args="(UBool useScientific)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setScientificNotation           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>useScientific</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set whether or not scientific notation is used. 
<p>
When scientific notation is used, the effective maximum number of integer digits is &lt;= 8. If the maximum number of integer digits is set to more than 8, the effective maximum will be 1. This allows this call to generate a 'default' scientific number format without additional changes. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>useScientific</em>&nbsp;</td><td>TRUE if this object formats and parses scientific notation </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#e27960a24003cd84116cb94d05efd893">isScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#a9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> <p>
<a class="el" href="classDecimalFormat.html#4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7f2624eca4e37bfdebcb8b27f016abb0"></a><!-- doxytag: member="DecimalFormat::getMinimumExponentDigits" ref="7f2624eca4e37bfdebcb8b27f016abb0" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> DecimalFormat::getMinimumExponentDigits           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the minimum exponent digits that will be shown. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the minimum exponent digits that will be shown </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#e27960a24003cd84116cb94d05efd893">isScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#a9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> <p>
<a class="el" href="classDecimalFormat.html#4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002285">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a9bbe051c7f9962bb8a4a91cc32bb001"></a><!-- doxytag: member="DecimalFormat::setMinimumExponentDigits" ref="a9bbe051c7f9962bb8a4a91cc32bb001" args="(int8_t minExpDig)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setMinimumExponentDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>minExpDig</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the minimum exponent digits that will be shown. 
<p>
This has no effect unless scientific notation is in use. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>minExpDig</em>&nbsp;</td><td>a value &gt;= 1 indicating the fewest exponent digits that will be shown. Values less than 1 will be treated as 1. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#e27960a24003cd84116cb94d05efd893">isScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> <p>
<a class="el" href="classDecimalFormat.html#4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="3f6ed363c1f0a3260153822f159ef136"></a><!-- doxytag: member="DecimalFormat::isExponentSignAlwaysShown" ref="3f6ed363c1f0a3260153822f159ef136" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::isExponentSignAlwaysShown           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return whether the exponent sign is always shown. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if the exponent is always prefixed with either the localized minus sign or the localized plus sign, false if only negative exponents are prefixed with the localized minus sign. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#e27960a24003cd84116cb94d05efd893">isScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#a9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002287">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c341614d4fcdceb83345a32ab125ec1"></a><!-- doxytag: member="DecimalFormat::setExponentSignAlwaysShown" ref="4c341614d4fcdceb83345a32ab125ec1" args="(UBool expSignAlways)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setExponentSignAlwaysShown           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>expSignAlways</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set whether the exponent sign is always shown. 
<p>
This has no effect unless scientific notation is in use. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>expSignAlways</em>&nbsp;</td><td>TRUE if the exponent is always prefixed with either the localized minus sign or the localized plus sign, false if only negative exponents are prefixed with the localized minus sign. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#e27960a24003cd84116cb94d05efd893">isScientificNotation</a> <p>
<a class="el" href="classDecimalFormat.html#a9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> <p>
<a class="el" href="classDecimalFormat.html#3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2609e24ab824305f1ed4c68523aa9820"></a><!-- doxytag: member="DecimalFormat::getGroupingSize" ref="2609e24ab824305f1ed4c68523aa9820" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DecimalFormat::getGroupingSize           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the grouping size. 
<p>
Grouping size is the number of digits between grouping separators in the integer portion of a number. For example, in the number "123,456.78", the grouping size is 3.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the grouping size. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#f1111f8ae6bcae827973d5114b5a1dd7">setGroupingSize</a> <p>
<a class="el" href="classNumberFormat.html#6fe9bf9d863b9c85ba8f61699e2bbd5b">NumberFormat::isGroupingUsed</a> <p>
DecimalFormatSymbols::getGroupingSeparator </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002289">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f1111f8ae6bcae827973d5114b5a1dd7"></a><!-- doxytag: member="DecimalFormat::setGroupingSize" ref="f1111f8ae6bcae827973d5114b5a1dd7" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setGroupingSize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the grouping size. 
<p>
Grouping size is the number of digits between grouping separators in the integer portion of a number. For example, in the number "123,456.78", the grouping size is 3.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the grouping size. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#2609e24ab824305f1ed4c68523aa9820">getGroupingSize</a> <p>
<a class="el" href="classNumberFormat.html#42f1ff1c899ec393a87ef24cfdfdd0a1">NumberFormat::setGroupingUsed</a> <p>
DecimalFormatSymbols::setGroupingSeparator </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002290">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a215994a121009e3619e6e3884ced73b"></a><!-- doxytag: member="DecimalFormat::getSecondaryGroupingSize" ref="a215994a121009e3619e6e3884ced73b" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DecimalFormat::getSecondaryGroupingSize           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the secondary grouping size. 
<p>
In some locales one grouping interval is used for the least significant integer digits (the primary grouping size), and another is used for all others (the secondary grouping size). A formatter supporting a secondary grouping size will return a positive integer unequal to the primary grouping size returned by <a class="el" href="classDecimalFormat.html#2609e24ab824305f1ed4c68523aa9820">getGroupingSize()</a>. For example, if the primary grouping size is 4, and the secondary grouping size is 2, then the number 123456789 formats as "1,23,45,6789", and the pattern appears as "#,##,###0". <dl class="return" compact><dt><b>Returns:</b></dt><dd>the secondary grouping size, or a value less than one if there is none </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#489755a7c9b3a772d950c952c2e513d5">setSecondaryGroupingSize</a> <p>
<a class="el" href="classNumberFormat.html#6fe9bf9d863b9c85ba8f61699e2bbd5b">NumberFormat::isGroupingUsed</a> <p>
DecimalFormatSymbols::getGroupingSeparator </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002291">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div><p>
<a class="anchor" name="489755a7c9b3a772d950c952c2e513d5"></a><!-- doxytag: member="DecimalFormat::setSecondaryGroupingSize" ref="489755a7c9b3a772d950c952c2e513d5" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setSecondaryGroupingSize           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the secondary grouping size. 
<p>
If set to a value less than 1, then secondary grouping is turned off, and the primary grouping size is used for all intervals, not just the least significant.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the secondary grouping size. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#a215994a121009e3619e6e3884ced73b">getSecondaryGroupingSize</a> <p>
<a class="el" href="classNumberFormat.html#42f1ff1c899ec393a87ef24cfdfdd0a1">NumberFormat::setGroupingUsed</a> <p>
DecimalFormatSymbols::setGroupingSeparator </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002292">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

</div>
</div><p>
<a class="anchor" name="856515c53689f8bbedf695b17b3e3769"></a><!-- doxytag: member="DecimalFormat::isDecimalSeparatorAlwaysShown" ref="856515c53689f8bbedf695b17b3e3769" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::isDecimalSeparatorAlwaysShown           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allows you to get the behavior of the decimal separator with integers. 
<p>
(The decimal separator will always appear with decimals.)<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if the decimal separator always appear with decimals. Example: Decimal ON: 12345 -&gt; 12345.; OFF: 12345 -&gt; 12345 </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002293">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1c767fd7397fd26ca7c0bae7fdcf2343"></a><!-- doxytag: member="DecimalFormat::setDecimalSeparatorAlwaysShown" ref="1c767fd7397fd26ca7c0bae7fdcf2343" args="(UBool newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setDecimalSeparatorAlwaysShown           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allows you to set the behavior of the decimal separator with integers. 
<p>
(The decimal separator will always appear with decimals.)<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>set TRUE if the decimal separator will always appear with decimals. Example: Decimal ON: 12345 -&gt; 12345.; OFF: 12345 -&gt; 12345 </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2b19febbf7af0e97964b11ecc815a216"></a><!-- doxytag: member="DecimalFormat::toPattern" ref="2b19febbf7af0e97964b11ecc815a216" args="(UnicodeString &amp;result) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::toPattern           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Synthesizes a pattern string that represents the current state of this <a class="el" href="classFormat.html">Format</a> object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param which will receive the pattern. Previous contents are deleted. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#f2d13a3de17cf4085cc82f74a915af6d">applyPattern</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="60ab445743d05da45cdbf201803ee2d6"></a><!-- doxytag: member="DecimalFormat::toLocalizedPattern" ref="60ab445743d05da45cdbf201803ee2d6" args="(UnicodeString &amp;result) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>&amp; DecimalFormat::toLocalizedPattern           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Synthesizes a localized pattern string that represents the current state of this <a class="el" href="classFormat.html">Format</a> object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>Output param which will receive the localized pattern. Previous contents are deleted. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to 'result'. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDecimalFormat.html#f2d13a3de17cf4085cc82f74a915af6d">applyPattern</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002296">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f2d13a3de17cf4085cc82f74a915af6d"></a><!-- doxytag: member="DecimalFormat::applyPattern" ref="f2d13a3de17cf4085cc82f74a915af6d" args="(const UnicodeString &amp;pattern, UParseError &amp;parseError, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::applyPattern           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>parseError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Apply the given pattern to this <a class="el" href="classFormat.html">Format</a> object. 
<p>
A pattern is a short-hand specification for the various formatting properties. These properties can also be changed individually through the various setter methods. <p>
There is no limit to integer digits are set by this routine, since that is the typical end-user desire; use setMaximumInteger if you want to set a real value. For negative numbers, use a second pattern, separated by a semicolon <pre>
 .      Example "#,#00.0#" -&gt; 1,234.56
 </pre> This means a minimum of 2 integer digits, 1 fraction digit, and a maximum of 2 fraction digits. <pre>
 .      Example: "#,#00.0#;(#,#00.0#)" for negatives in parantheses.
 </pre> In negative patterns, the minimum and maximum counts are ignored; these are presumed to be set in the positive pattern.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>The pattern to be applied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parseError</em>&nbsp;</td><td>Struct to recieve information on position of error if an error is encountered </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002297">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1cc6a469471eeae2356819552281001b"></a><!-- doxytag: member="DecimalFormat::applyPattern" ref="1cc6a469471eeae2356819552281001b" args="(const UnicodeString &amp;pattern, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::applyPattern           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the pattern. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>The pattern to be applied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002298">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="3a9842cd391ea434e18889f5b04fb42d"></a><!-- doxytag: member="DecimalFormat::applyLocalizedPattern" ref="3a9842cd391ea434e18889f5b04fb42d" args="(const UnicodeString &amp;pattern, UParseError &amp;parseError, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::applyLocalizedPattern           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>parseError</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Apply the given pattern to this <a class="el" href="classFormat.html">Format</a> object. 
<p>
The pattern is assumed to be in a localized notation. A pattern is a short-hand specification for the various formatting properties. These properties can also be changed individually through the various setter methods. <p>
There is no limit to integer digits are set by this routine, since that is the typical end-user desire; use setMaximumInteger if you want to set a real value. For negative numbers, use a second pattern, separated by a semicolon <pre>
 .      Example "#,#00.0#" -&gt; 1,234.56
 </pre> This means a minimum of 2 integer digits, 1 fraction digit, and a maximum of 2 fraction digits.<p>
Example: "#,#00.0#;(#,#00.0#)" for negatives in parantheses.<p>
In negative patterns, the minimum and maximum counts are ignored; these are presumed to be set in the positive pattern.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>The localized pattern to be applied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>parseError</em>&nbsp;</td><td>Struct to recieve information on position of error if an error is encountered </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002299">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d20c4e92d192db4f70bc9631a67a0c1e"></a><!-- doxytag: member="DecimalFormat::applyLocalizedPattern" ref="d20c4e92d192db4f70bc9631a67a0c1e" args="(const UnicodeString &amp;pattern, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::applyLocalizedPattern           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Apply the given pattern to this <a class="el" href="classFormat.html">Format</a> object. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pattern</em>&nbsp;</td><td>The localized pattern to be applied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to success/failure code on exit. If the pattern is invalid, this will be set to a failure result. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002300">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="af3692b04cf2fafbc536bcdaf9caea25"></a><!-- doxytag: member="DecimalFormat::setMaximumIntegerDigits" ref="af3692b04cf2fafbc536bcdaf9caea25" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setMaximumIntegerDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the maximum number of digits allowed in the integer portion of a number. 
<p>
This override limits the integer digit count to 309.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the maximum number of digits allowed in the integer portion of a number. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classNumberFormat.html#561c13b71c338e6b68729c786d2a3a09">NumberFormat::setMaximumIntegerDigits</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002301">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#561c13b71c338e6b68729c786d2a3a09">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="cda98ebc96abd54c9d796e90231f3bf9"></a><!-- doxytag: member="DecimalFormat::setMinimumIntegerDigits" ref="cda98ebc96abd54c9d796e90231f3bf9" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setMinimumIntegerDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the minimum number of digits allowed in the integer portion of a number. 
<p>
This override limits the integer digit count to 309.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the minimum number of digits allowed in the integer portion of a number. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classNumberFormat.html#92a1454c564b66707d0145a123f65cf3">NumberFormat::setMinimumIntegerDigits</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002302">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#92a1454c564b66707d0145a123f65cf3">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="383f882e65849d2cf59550c875f61f1d"></a><!-- doxytag: member="DecimalFormat::setMaximumFractionDigits" ref="383f882e65849d2cf59550c875f61f1d" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setMaximumFractionDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the maximum number of digits allowed in the fraction portion of a number. 
<p>
This override limits the fraction digit count to 340.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the maximum number of digits allowed in the fraction portion of a number. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classNumberFormat.html#bb97d22c2d628aab87d695c6f66e8dbb">NumberFormat::setMaximumFractionDigits</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002303">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#bb97d22c2d628aab87d695c6f66e8dbb">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="cb6abe86ebcfd4bb0b91dec005da9d7b"></a><!-- doxytag: member="DecimalFormat::setMinimumFractionDigits" ref="cb6abe86ebcfd4bb0b91dec005da9d7b" args="(int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setMinimumFractionDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the minimum number of digits allowed in the fraction portion of a number. 
<p>
This override limits the fraction digit count to 340.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>the new value of the minimum number of digits allowed in the fraction portion of a number. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classNumberFormat.html#454c39db13cb0dde930e9249ee726db5">NumberFormat::setMinimumFractionDigits</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002304">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#454c39db13cb0dde930e9249ee726db5">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="68888fdef31bbb1c5d0169a15eab6ebb"></a><!-- doxytag: member="DecimalFormat::getMinimumSignificantDigits" ref="68888fdef31bbb1c5d0169a15eab6ebb" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DecimalFormat::getMinimumSignificantDigits           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the minimum number of significant digits that will be displayed. 
<p>
This value has no effect unless <a class="el" href="classDecimalFormat.html#1e5f397ae8f322bd10165634c36ad51d">areSignificantDigitsUsed()</a> returns true. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the fewest significant digits that will be shown </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002305">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f6d7c571404f51b43eae3c31e85e1012"></a><!-- doxytag: member="DecimalFormat::getMaximumSignificantDigits" ref="f6d7c571404f51b43eae3c31e85e1012" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DecimalFormat::getMaximumSignificantDigits           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the maximum number of significant digits that will be displayed. 
<p>
This value has no effect unless <a class="el" href="classDecimalFormat.html#1e5f397ae8f322bd10165634c36ad51d">areSignificantDigitsUsed()</a> returns true. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the most significant digits that will be shown </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002306">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f970944ad7d9d249aeb488bd4872fe2a"></a><!-- doxytag: member="DecimalFormat::setMinimumSignificantDigits" ref="f970944ad7d9d249aeb488bd4872fe2a" args="(int32_t min)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DecimalFormat::setMinimumSignificantDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>min</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the minimum number of significant digits that will be displayed. 
<p>
If <code>min</code> is less than one then it is set to one. If the maximum significant digits count is less than <code>min</code>, then it is set to <code>min</code>. This value has no effect unless areSignificantDigits() returns true. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>min</em>&nbsp;</td><td>the fewest significant digits to be shown </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002307">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="985457f807266318caaa13a20554906b"></a><!-- doxytag: member="DecimalFormat::setMaximumSignificantDigits" ref="985457f807266318caaa13a20554906b" args="(int32_t max)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DecimalFormat::setMaximumSignificantDigits           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>max</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the maximum number of significant digits that will be displayed. 
<p>
If <code>max</code> is less than one then it is set to one. If the minimum significant digits count is greater than <code>max</code>, then it is set to <code>max</code>. This value has no effect unless areSignificantDigits() returns true. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>max</em>&nbsp;</td><td>the most significant digits to be shown </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002308">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1e5f397ae8f322bd10165634c36ad51d"></a><!-- doxytag: member="DecimalFormat::areSignificantDigitsUsed" ref="1e5f397ae8f322bd10165634c36ad51d" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::areSignificantDigitsUsed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if significant digits are in use, or false if integer and fraction digit counts are in use. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if significant digits are in use </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002309">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ea4a7be245a5094ad7225a443ee39409"></a><!-- doxytag: member="DecimalFormat::setSignificantDigitsUsed" ref="ea4a7be245a5094ad7225a443ee39409" args="(UBool useSignificantDigits)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DecimalFormat::setSignificantDigitsUsed           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>useSignificantDigits</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets whether significant digits are in use, or integer and fraction digit counts are in use. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>useSignificantDigits</em>&nbsp;</td><td>true to use significant digits, or false to use integer and fraction digit counts </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002310">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c87fca5e0d14886bdaa4e0969f814e5"></a><!-- doxytag: member="DecimalFormat::setCurrency" ref="4c87fca5e0d14886bdaa4e0969f814e5" args="(const UChar *theCurrency, UErrorCode &amp;ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setCurrency           </td>
          <td>(</td>
          <td class="paramtype">const UChar *&nbsp;</td>
          <td class="paramname"> <em>theCurrency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the currency used to display currency amounts. 
<p>
This takes effect immediately, if this format is a currency format. If this format is not a currency format, then the currency is used if and when this object becomes a currency format through the application of a new pattern. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>theCurrency</em>&nbsp;</td><td>a 3-letter ISO code indicating new currency to use. It need not be null-terminated. May be the empty string or NULL to indicate no currency. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input-output error code </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002311">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#1dbc762d377858e70de924aacc59d113">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="2ac00a272f0b9f01c4004372c417d347"></a><!-- doxytag: member="DecimalFormat::setCurrency" ref="2ac00a272f0b9f01c4004372c417d347" args="(const UChar *theCurrency)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::setCurrency           </td>
          <td>(</td>
          <td class="paramtype">const UChar *&nbsp;</td>
          <td class="paramname"> <em>theCurrency</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the currency used to display currency amounts. 
<p>
See <a class="el" href="classDecimalFormat.html#4c87fca5e0d14886bdaa4e0969f814e5">setCurrency(const UChar*, UErrorCode&amp;)</a>. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000193">Deprecated:</a></b></dt><dd>ICU 3.0. Use <a class="el" href="classDecimalFormat.html#4c87fca5e0d14886bdaa4e0969f814e5">setCurrency(const UChar*, UErrorCode&amp;)</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2c44dda0c6621b3ff10b120fd760ea88"></a><!-- doxytag: member="DecimalFormat::getStaticClassID" ref="2c44dda0c6621b3ff10b120fd760ea88" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> DecimalFormat::getStaticClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the class ID for this class. 
<p>
This is useful only for comparing to a return value from <a class="el" href="classDecimalFormat.html#29d58da07dee220c1661ec37397babb2">getDynamicClassID()</a>. For example: <pre>
 .      Base* polymorphic_pointer = createPolymorphicObject();
 .      if (polymorphic_pointer-&gt;<a class="el" href="classDecimalFormat.html#29d58da07dee220c1661ec37397babb2">getDynamicClassID()</a> ==
 .          Derived::getStaticClassID()) ...
 </pre> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The class ID for all objects of this class. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002312">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#cfeb8972959e9383b026761d0e9e1e5e">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="29d58da07dee220c1661ec37397babb2"></a><!-- doxytag: member="DecimalFormat::getDynamicClassID" ref="29d58da07dee220c1661ec37397babb2" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> DecimalFormat::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a unique class ID POLYMORPHICALLY. 
<p>
Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classDecimalFormat.html#3d3a2d71fcf817ddc1473e9e5c59756c">operator==()</a> and <a class="el" href="classDecimalFormat.html#b708755522b88a31695ed54eac6f1bbe">clone()</a> methods call this method.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002313">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classNumberFormat.html#63c193a4db6a1552073bf069d5d31749">NumberFormat</a>.
</div>
</div><p>
<a class="anchor" name="1e0f67f9fcfbb26e36f1a44865e7cf15"></a><!-- doxytag: member="DecimalFormat::getEffectiveCurrency" ref="1e0f67f9fcfbb26e36f1a44865e7cf15" args="(UChar *result, UErrorCode &amp;ec) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void DecimalFormat::getEffectiveCurrency           </td>
          <td>(</td>
          <td class="paramtype">UChar *&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the currency in effect for this formatter. 
<p>
Subclasses should override this method as needed. Unlike <a class="el" href="classNumberFormat.html#c7ccc3b79400e8e75d704fd2c6221725">getCurrency()</a>, this method should never return "". <dl class="return" compact><dt><b>Returns:</b></dt><dd>output parameter for null-terminated result, which must have a capacity of at least 4 </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000137">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Reimplemented from <a class="el" href="classNumberFormat.html#aca410b90b02f0e0d86673054263cd17">NumberFormat</a>.
</div>
</div><p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="f41fc1a3bde85bec4649668300f60148"></a><!-- doxytag: member="DecimalFormat::fgNumberPatterns" ref="f41fc1a3bde85bec4649668300f60148" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char <a class="el" href="classDecimalFormat.html#f41fc1a3bde85bec4649668300f60148">DecimalFormat::fgNumberPatterns</a>[]<code> [static]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The resource tags we use to retrieve decimal format data from locale resource bundles. 
<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000194">Deprecated:</a></b></dt><dd>ICU 3.4. This string has no public purpose. Please don't use it. </dd></dl>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01623">1623</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
</div>
</div><p>
<a class="anchor" name="8d5140e73b831fedb039ccf3c303c156"></a><!-- doxytag: member="DecimalFormat::kDoubleIntegerDigits" ref="8d5140e73b831fedb039ccf3c303c156" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="classDecimalFormat.html#8d5140e73b831fedb039ccf3c303c156">DecimalFormat::kDoubleIntegerDigits</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
number of integer digits 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002314">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01850">1850</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
</div>
</div><p>
<a class="anchor" name="b499b677e78e3320d6704b21f8a3ad23"></a><!-- doxytag: member="DecimalFormat::kDoubleFractionDigits" ref="b499b677e78e3320d6704b21f8a3ad23" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="classDecimalFormat.html#b499b677e78e3320d6704b21f8a3ad23">DecimalFormat::kDoubleFractionDigits</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
number of fraction digits 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002315">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01854">1854</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
</div>
</div><p>
<a class="anchor" name="efc212fd0526b37ca733b1827d28f440"></a><!-- doxytag: member="DecimalFormat::kMaxScientificIntegerDigits" ref="efc212fd0526b37ca733b1827d28f440" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="classDecimalFormat.html#efc212fd0526b37ca733b1827d28f440">DecimalFormat::kMaxScientificIntegerDigits</a><code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
When someone turns on scientific mode, we assume that more than this number of digits is due to flipping from some other mode that didn't restrict the maximum, and so we force 1 integer digit. 
<p>
We don't bother to track and see if someone is using exponential notation with more than this number, it wouldn't make sense anyway, and this is just to make sure that someone turning on scientific mode with default settings doesn't end up with lots of zeroes. <dl compact><dt><b><a class="el" href="stable.html#_stable002316">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>
Definition at line <a class="el" href="decimfmt_8h-source.html#l01866">1866</a> of file <a class="el" href="decimfmt_8h-source.html">decimfmt.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="decimfmt_8h-source.html">decimfmt.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:40 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>