Server IP : 103.119.228.120 / Your IP : 3.149.25.117 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.5"/> <title>ICU 4.0.1: DecimalFormat Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 4.0.1 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pub-static-attribs">Static Public Attributes</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pro-static-attribs">Static Protected Attributes</a> </div> <div class="headertitle"> <div class="title">DecimalFormat Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> is a concrete subclass of <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> that formats decimal numbers. <a href="classDecimalFormat.html#details">More...</a></p> <p><code>#include <<a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>></code></p> <div class="dynheader"> Inheritance diagram for DecimalFormat:</div> <div class="dyncontent"> <div class="center"> <img src="classDecimalFormat.png" usemap="#DecimalFormat_map" alt=""/> <map id="DecimalFormat_map" name="DecimalFormat_map"> <area href="classNumberFormat.html" title="Abstract base class for all number formats. " alt="NumberFormat" shape="rect" coords="0,168,96,192"/> <area href="classFormat.html" title="Base class for all formats. " alt="Format" shape="rect" coords="0,112,96,136"/> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" class. " alt="UObject" shape="rect" coords="0,56,96,80"/> <area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,96,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a00f3e49ce35985df764feb658371b7e7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> { <br/>   <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7af146ca0a8b344f70cecb3803ae0f570b">kRoundCeiling</a>, <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7abfbc6479dc0e17828284c1c9defb1a6b">kRoundFloor</a>, <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7a2533285a97586f0dbd50b800fd6122c8">kRoundDown</a>, <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7a704fbaff22d357bf8e050996bd685301">kRoundUp</a>, <br/>   <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7a66aca6588fc0e4dbf998f1218c650a8e">kRoundHalfEven</a>, <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7aa6798557d8ca6479fcaf9f413f149471">kRoundHalfDown</a>, <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7ab7ea67fe0f5eb967ab3e21ec59aec926">kRoundHalfUp</a> <br/> }</td></tr> <tr class="memdesc:a00f3e49ce35985df764feb658371b7e7"><td class="mdescLeft"> </td><td class="mdescRight">Rounding mode. <a href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">More...</a><br/></td></tr> <tr class="separator:a00f3e49ce35985df764feb658371b7e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad9cabc444ffb51c72c4c11be6d004e21"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> { <b>kPadBeforePrefix</b>, <b>kPadAfterPrefix</b>, <b>kPadBeforeSuffix</b>, <b>kPadAfterSuffix</b> }</td></tr> <tr class="memdesc:ad9cabc444ffb51c72c4c11be6d004e21"><td class="mdescLeft"> </td><td class="mdescRight">Pad position. <a href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">More...</a><br/></td></tr> <tr class="separator:ad9cabc444ffb51c72c4c11be6d004e21"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classNumberFormat')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr> <tr class="memitem:aac1d8bfe4ccd2cdf6fa1a933b2df75a1 inherit pub_types_classNumberFormat"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1">EAlignmentFields</a> { <b>kIntegerField</b>, <b>kFractionField</b>, <a class="el" href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1a193401497626cb3ca7f4f9baabe1c123">INTEGER_FIELD</a> = kIntegerField, <b>FRACTION_FIELD</b> = kFractionField }</td></tr> <tr class="memdesc:aac1d8bfe4ccd2cdf6fa1a933b2df75a1"><td class="mdescLeft"> </td><td class="mdescRight">Alignment Field constants used to construct a <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a> object. <a href="classNumberFormat.html#aac1d8bfe4ccd2cdf6fa1a933b2df75a1">More...</a><br/></td></tr> <tr class="separator:aac1d8bfe4ccd2cdf6fa1a933b2df75a1 inherit pub_types_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a8a421e9ca43a31cb308c8052cf82850e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a8a421e9ca43a31cb308c8052cf82850e">DecimalFormat</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a8a421e9ca43a31cb308c8052cf82850e"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> using the default pattern and symbols for the default locale. <a href="#a8a421e9ca43a31cb308c8052cf82850e">More...</a><br/></td></tr> <tr class="separator:a8a421e9ca43a31cb308c8052cf82850e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaadc21eab2ef6252f25eada5440e3c65"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aaadc21eab2ef6252f25eada5440e3c65">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aaadc21eab2ef6252f25eada5440e3c65"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and the symbols for the default locale. <a href="#aaadc21eab2ef6252f25eada5440e3c65">More...</a><br/></td></tr> <tr class="separator:aaadc21eab2ef6252f25eada5440e3c65"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeac00ab9c6c9bd9bf08d00db52ec5512"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aeac00ab9c6c9bd9bf08d00db52ec5512">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *symbolsToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:aeac00ab9c6c9bd9bf08d00db52ec5512"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and symbols. <a href="#aeac00ab9c6c9bd9bf08d00db52ec5512">More...</a><br/></td></tr> <tr class="separator:aeac00ab9c6c9bd9bf08d00db52ec5512"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af5ef6767e465d243dddea9d8d3bd9a57"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af5ef6767e465d243dddea9d8d3bd9a57">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *symbolsToAdopt, <a class="el" href="structUParseError.html">UParseError</a> &parseError, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:af5ef6767e465d243dddea9d8d3bd9a57"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and symbols. <a href="#af5ef6767e465d243dddea9d8d3bd9a57">More...</a><br/></td></tr> <tr class="separator:af5ef6767e465d243dddea9d8d3bd9a57"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6202bc1606eb3800758ec33fc05b6d2b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a6202bc1606eb3800758ec33fc05b6d2b">DecimalFormat</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> &symbols, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a6202bc1606eb3800758ec33fc05b6d2b"><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and symbols. <a href="#a6202bc1606eb3800758ec33fc05b6d2b">More...</a><br/></td></tr> <tr class="separator:a6202bc1606eb3800758ec33fc05b6d2b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab9370805544903b8a5040468619a34ed"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ab9370805544903b8a5040468619a34ed">DecimalFormat</a> (const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> &source)</td></tr> <tr class="memdesc:ab9370805544903b8a5040468619a34ed"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ab9370805544903b8a5040468619a34ed">More...</a><br/></td></tr> <tr class="separator:ab9370805544903b8a5040468619a34ed"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80ae4009d0a89aaa339e38328c5f5f31"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDecimalFormat.html">DecimalFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a80ae4009d0a89aaa339e38328c5f5f31">operator=</a> (const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> &rhs)</td></tr> <tr class="memdesc:a80ae4009d0a89aaa339e38328c5f5f31"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a80ae4009d0a89aaa339e38328c5f5f31">More...</a><br/></td></tr> <tr class="separator:a80ae4009d0a89aaa339e38328c5f5f31"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1c39af86d6186c5ffd8ae49d32a87cd6"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a1c39af86d6186c5ffd8ae49d32a87cd6">~DecimalFormat</a> ()</td></tr> <tr class="memdesc:a1c39af86d6186c5ffd8ae49d32a87cd6"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a1c39af86d6186c5ffd8ae49d32a87cd6">More...</a><br/></td></tr> <tr class="separator:a1c39af86d6186c5ffd8ae49d32a87cd6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab708755522b88a31695ed54eac6f1bbe"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classFormat.html">Format</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ab708755522b88a31695ed54eac6f1bbe">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:ab708755522b88a31695ed54eac6f1bbe"><td class="mdescLeft"> </td><td class="mdescRight">Clone this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object polymorphically. <a href="#ab708755522b88a31695ed54eac6f1bbe">More...</a><br/></td></tr> <tr class="separator:ab708755522b88a31695ed54eac6f1bbe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d3a2d71fcf817ddc1473e9e5c59756c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a3d3a2d71fcf817ddc1473e9e5c59756c">operator==</a> (const <a class="el" href="classFormat.html">Format</a> &other) const </td></tr> <tr class="memdesc:a3d3a2d71fcf817ddc1473e9e5c59756c"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. <a href="#a3d3a2d71fcf817ddc1473e9e5c59756c">More...</a><br/></td></tr> <tr class="separator:a3d3a2d71fcf817ddc1473e9e5c59756c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aed19f9279def60133b3122a2435ea568"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &pos) const </td></tr> <tr class="memdesc:aed19f9279def60133b3122a2435ea568"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a double or long number using base-10 representation. <a href="#aed19f9279def60133b3122a2435ea568">More...</a><br/></td></tr> <tr class="separator:aed19f9279def60133b3122a2435ea568"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa2bab620a29369c545e85d544d73ad05"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aa2bab620a29369c545e85d544d73ad05">format</a> (int32_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &pos) const </td></tr> <tr class="memdesc:aa2bab620a29369c545e85d544d73ad05"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a long number using base-10 representation. <a href="#aa2bab620a29369c545e85d544d73ad05">More...</a><br/></td></tr> <tr class="separator:aa2bab620a29369c545e85d544d73ad05"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4239fefb073af94327ccdac88bb5bf3e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a4239fefb073af94327ccdac88bb5bf3e">format</a> (int64_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &pos) const </td></tr> <tr class="memdesc:a4239fefb073af94327ccdac88bb5bf3e"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> an int64 number using base-10 representation. <a href="#a4239fefb073af94327ccdac88bb5bf3e">More...</a><br/></td></tr> <tr class="separator:a4239fefb073af94327ccdac88bb5bf3e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9cd8dc27d2e975c453b12e123225da17"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a9cd8dc27d2e975c453b12e123225da17">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="classFieldPosition.html">FieldPosition</a> &pos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a9cd8dc27d2e975c453b12e123225da17"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> using base-10 representation. <a href="#a9cd8dc27d2e975c453b12e123225da17">More...</a><br/></td></tr> <tr class="separator:a9cd8dc27d2e975c453b12e123225da17"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaf9c44cbcc2b7f0279dcc6f121b8bf13"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aaf9c44cbcc2b7f0279dcc6f121b8bf13">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:aaf9c44cbcc2b7f0279dcc6f121b8bf13"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. <a href="#aaf9c44cbcc2b7f0279dcc6f121b8bf13">More...</a><br/></td></tr> <tr class="separator:aaf9c44cbcc2b7f0279dcc6f121b8bf13"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac5b6d7339b4ea565dee15147cd29df09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ac5b6d7339b4ea565dee15147cd29df09">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:ac5b6d7339b4ea565dee15147cd29df09"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. <a href="#ac5b6d7339b4ea565dee15147cd29df09">More...</a><br/></td></tr> <tr class="separator:ac5b6d7339b4ea565dee15147cd29df09"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a353940a76151b71b954fcfb37a0f9611"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a353940a76151b71b954fcfb37a0f9611">format</a> (int32_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:a353940a76151b71b954fcfb37a0f9611"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. <a href="#a353940a76151b71b954fcfb37a0f9611">More...</a><br/></td></tr> <tr class="separator:a353940a76151b71b954fcfb37a0f9611"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7bd1ea414645fcce54268b47d38c84ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a7bd1ea414645fcce54268b47d38c84ae">format</a> (int64_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:a7bd1ea414645fcce54268b47d38c84ae"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. <a href="#a7bd1ea414645fcce54268b47d38c84ae">More...</a><br/></td></tr> <tr class="separator:a7bd1ea414645fcce54268b47d38c84ae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afe6f4084b4a6ccff6977501d90011fa4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#afe6f4084b4a6ccff6977501d90011fa4">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="classParsePosition.html">ParsePosition</a> &parsePosition) const </td></tr> <tr class="memdesc:afe6f4084b4a6ccff6977501d90011fa4"><td class="mdescLeft"> </td><td class="mdescRight">Parse the given string using this object's choices. <a href="#afe6f4084b4a6ccff6977501d90011fa4">More...</a><br/></td></tr> <tr class="separator:afe6f4084b4a6ccff6977501d90011fa4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c0309ac314fe3ec8a7cc4b50b99940a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a9c0309ac314fe3ec8a7cc4b50b99940a">parse</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a9c0309ac314fe3ec8a7cc4b50b99940a"><td class="mdescLeft"> </td><td class="mdescRight">Parse the given string using this object's choices. <a href="#a9c0309ac314fe3ec8a7cc4b50b99940a">More...</a><br/></td></tr> <tr class="separator:a9c0309ac314fe3ec8a7cc4b50b99940a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa83789398c1b9baa69aa31a5391eadf2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classFormattable.html">Formattable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aa83789398c1b9baa69aa31a5391eadf2">parseCurrency</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &text, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="classParsePosition.html">ParsePosition</a> &pos) const </td></tr> <tr class="memdesc:aa83789398c1b9baa69aa31a5391eadf2"><td class="mdescLeft"> </td><td class="mdescRight">Parses text from the given string as a currency amount. <a href="#aa83789398c1b9baa69aa31a5391eadf2">More...</a><br/></td></tr> <tr class="separator:aa83789398c1b9baa69aa31a5391eadf2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32cc0bfc2cffa8cb3978a67555fe7253"><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/> <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a32cc0bfc2cffa8cb3978a67555fe7253">getDecimalFormatSymbols</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a32cc0bfc2cffa8cb3978a67555fe7253"><td class="mdescLeft"> </td><td class="mdescRight">Returns the decimal format symbols, which is generally not changed by the programmer or user. <a href="#a32cc0bfc2cffa8cb3978a67555fe7253">More...</a><br/></td></tr> <tr class="separator:a32cc0bfc2cffa8cb3978a67555fe7253"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13825fd336e4de55dfc5cd13616430b2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a13825fd336e4de55dfc5cd13616430b2">adoptDecimalFormatSymbols</a> (<a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> *symbolsToAdopt)</td></tr> <tr class="memdesc:a13825fd336e4de55dfc5cd13616430b2"><td class="mdescLeft"> </td><td class="mdescRight">Sets the decimal format symbols, which is generally not changed by the programmer or user. <a href="#a13825fd336e4de55dfc5cd13616430b2">More...</a><br/></td></tr> <tr class="separator:a13825fd336e4de55dfc5cd13616430b2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a973c2dd6666737ba8d91384ea77ff26b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a973c2dd6666737ba8d91384ea77ff26b">setDecimalFormatSymbols</a> (const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> &symbols)</td></tr> <tr class="memdesc:a973c2dd6666737ba8d91384ea77ff26b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the decimal format symbols, which is generally not changed by the programmer or user. <a href="#a973c2dd6666737ba8d91384ea77ff26b">More...</a><br/></td></tr> <tr class="separator:a973c2dd6666737ba8d91384ea77ff26b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a542dc4e58b1d27bf9acc04caf6c392fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a542dc4e58b1d27bf9acc04caf6c392fe">getPositivePrefix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a542dc4e58b1d27bf9acc04caf6c392fe"><td class="mdescLeft"> </td><td class="mdescRight">Get the positive prefix. <a href="#a542dc4e58b1d27bf9acc04caf6c392fe">More...</a><br/></td></tr> <tr class="separator:a542dc4e58b1d27bf9acc04caf6c392fe"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a955034e72cf166f9b9c933b2e7d0c0ce"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a955034e72cf166f9b9c933b2e7d0c0ce">setPositivePrefix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &newValue)</td></tr> <tr class="memdesc:a955034e72cf166f9b9c933b2e7d0c0ce"><td class="mdescLeft"> </td><td class="mdescRight">Set the positive prefix. <a href="#a955034e72cf166f9b9c933b2e7d0c0ce">More...</a><br/></td></tr> <tr class="separator:a955034e72cf166f9b9c933b2e7d0c0ce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a85918d546a872ca3d33a4f1f15a9e5e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a85918d546a872ca3d33a4f1f15a9e5e0">getNegativePrefix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a85918d546a872ca3d33a4f1f15a9e5e0"><td class="mdescLeft"> </td><td class="mdescRight">Get the negative prefix. <a href="#a85918d546a872ca3d33a4f1f15a9e5e0">More...</a><br/></td></tr> <tr class="separator:a85918d546a872ca3d33a4f1f15a9e5e0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a923f9be542ebdbdf07f26dd849a6047b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a923f9be542ebdbdf07f26dd849a6047b">setNegativePrefix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &newValue)</td></tr> <tr class="memdesc:a923f9be542ebdbdf07f26dd849a6047b"><td class="mdescLeft"> </td><td class="mdescRight">Set the negative prefix. <a href="#a923f9be542ebdbdf07f26dd849a6047b">More...</a><br/></td></tr> <tr class="separator:a923f9be542ebdbdf07f26dd849a6047b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abc219af67d858829b4f258e42be2b362"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#abc219af67d858829b4f258e42be2b362">getPositiveSuffix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:abc219af67d858829b4f258e42be2b362"><td class="mdescLeft"> </td><td class="mdescRight">Get the positive suffix. <a href="#abc219af67d858829b4f258e42be2b362">More...</a><br/></td></tr> <tr class="separator:abc219af67d858829b4f258e42be2b362"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc7ebd164e98f56a044861a77eb5b7b0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#acc7ebd164e98f56a044861a77eb5b7b0">setPositiveSuffix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &newValue)</td></tr> <tr class="memdesc:acc7ebd164e98f56a044861a77eb5b7b0"><td class="mdescLeft"> </td><td class="mdescRight">Set the positive suffix. <a href="#acc7ebd164e98f56a044861a77eb5b7b0">More...</a><br/></td></tr> <tr class="separator:acc7ebd164e98f56a044861a77eb5b7b0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a74c128baec0b40c6a02d495e9d1b66f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a74c128baec0b40c6a02d495e9d1b66f6">getNegativeSuffix</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a74c128baec0b40c6a02d495e9d1b66f6"><td class="mdescLeft"> </td><td class="mdescRight">Get the negative suffix. <a href="#a74c128baec0b40c6a02d495e9d1b66f6">More...</a><br/></td></tr> <tr class="separator:a74c128baec0b40c6a02d495e9d1b66f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee6c5f9d27a8df1d33bc65d9a5b546bf"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aee6c5f9d27a8df1d33bc65d9a5b546bf">setNegativeSuffix</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &newValue)</td></tr> <tr class="memdesc:aee6c5f9d27a8df1d33bc65d9a5b546bf"><td class="mdescLeft"> </td><td class="mdescRight">Set the negative suffix. <a href="#aee6c5f9d27a8df1d33bc65d9a5b546bf">More...</a><br/></td></tr> <tr class="separator:aee6c5f9d27a8df1d33bc65d9a5b546bf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa7ed11a9a3bfecf78bf0323c09a89ce5"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aa7ed11a9a3bfecf78bf0323c09a89ce5">getMultiplier</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:aa7ed11a9a3bfecf78bf0323c09a89ce5"><td class="mdescLeft"> </td><td class="mdescRight">Get the multiplier for use in percent, permill, etc. <a href="#aa7ed11a9a3bfecf78bf0323c09a89ce5">More...</a><br/></td></tr> <tr class="separator:aa7ed11a9a3bfecf78bf0323c09a89ce5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeaa002ef2300082f24802df929162f83"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aeaa002ef2300082f24802df929162f83">setMultiplier</a> (int32_t newValue)</td></tr> <tr class="memdesc:aeaa002ef2300082f24802df929162f83"><td class="mdescLeft"> </td><td class="mdescRight">Set the multiplier for use in percent, permill, etc. <a href="#aeaa002ef2300082f24802df929162f83">More...</a><br/></td></tr> <tr class="separator:aeaa002ef2300082f24802df929162f83"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2625aaab4e08c60f390f72ba3ef512a2"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a2625aaab4e08c60f390f72ba3ef512a2">getRoundingIncrement</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a2625aaab4e08c60f390f72ba3ef512a2"><td class="mdescLeft"> </td><td class="mdescRight">Get the rounding increment. <a href="#a2625aaab4e08c60f390f72ba3ef512a2">More...</a><br/></td></tr> <tr class="separator:a2625aaab4e08c60f390f72ba3ef512a2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7d2a985abd8e4ac25c77e94f7f8ae2e7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a7d2a985abd8e4ac25c77e94f7f8ae2e7">setRoundingIncrement</a> (double newValue)</td></tr> <tr class="memdesc:a7d2a985abd8e4ac25c77e94f7f8ae2e7"><td class="mdescLeft"> </td><td class="mdescRight">Set the rounding increment. <a href="#a7d2a985abd8e4ac25c77e94f7f8ae2e7">More...</a><br/></td></tr> <tr class="separator:a7d2a985abd8e4ac25c77e94f7f8ae2e7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9dd8911ea74be813c2446ee7a6657385"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a9dd8911ea74be813c2446ee7a6657385">getRoundingMode</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a9dd8911ea74be813c2446ee7a6657385"><td class="mdescLeft"> </td><td class="mdescRight">Get the rounding mode. <a href="#a9dd8911ea74be813c2446ee7a6657385">More...</a><br/></td></tr> <tr class="separator:a9dd8911ea74be813c2446ee7a6657385"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c4239c9afd29b26ab405efda8d7f993"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a4c4239c9afd29b26ab405efda8d7f993">setRoundingMode</a> (<a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> roundingMode)</td></tr> <tr class="memdesc:a4c4239c9afd29b26ab405efda8d7f993"><td class="mdescLeft"> </td><td class="mdescRight">Set the rounding mode. <a href="#a4c4239c9afd29b26ab405efda8d7f993">More...</a><br/></td></tr> <tr class="separator:a4c4239c9afd29b26ab405efda8d7f993"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a96acb157e41ca30d73f7baef3e78e0a1"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a96acb157e41ca30d73f7baef3e78e0a1">getFormatWidth</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a96acb157e41ca30d73f7baef3e78e0a1"><td class="mdescLeft"> </td><td class="mdescRight">Get the width to which the output of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> is padded. <a href="#a96acb157e41ca30d73f7baef3e78e0a1">More...</a><br/></td></tr> <tr class="separator:a96acb157e41ca30d73f7baef3e78e0a1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a16b35a9d59d21f140c31e73dbb08758f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a16b35a9d59d21f140c31e73dbb08758f">setFormatWidth</a> (int32_t width)</td></tr> <tr class="memdesc:a16b35a9d59d21f140c31e73dbb08758f"><td class="mdescLeft"> </td><td class="mdescRight">Set the width to which the output of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> is padded. <a href="#a16b35a9d59d21f140c31e73dbb08758f">More...</a><br/></td></tr> <tr class="separator:a16b35a9d59d21f140c31e73dbb08758f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae5eb36a42f0bc5b38585762fa819792b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ae5eb36a42f0bc5b38585762fa819792b">getPadCharacterString</a> () const </td></tr> <tr class="memdesc:ae5eb36a42f0bc5b38585762fa819792b"><td class="mdescLeft"> </td><td class="mdescRight">Get the pad character used to pad to the format width. <a href="#ae5eb36a42f0bc5b38585762fa819792b">More...</a><br/></td></tr> <tr class="separator:ae5eb36a42f0bc5b38585762fa819792b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a23c909183f4e0ed0c938fb67a1f5b5dd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a23c909183f4e0ed0c938fb67a1f5b5dd">setPadCharacter</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &padChar)</td></tr> <tr class="memdesc:a23c909183f4e0ed0c938fb67a1f5b5dd"><td class="mdescLeft"> </td><td class="mdescRight">Set the character used to pad to the format width. <a href="#a23c909183f4e0ed0c938fb67a1f5b5dd">More...</a><br/></td></tr> <tr class="separator:a23c909183f4e0ed0c938fb67a1f5b5dd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a44433620af9101170cdf90f5b56c9581"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a44433620af9101170cdf90f5b56c9581">getPadPosition</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a44433620af9101170cdf90f5b56c9581"><td class="mdescLeft"> </td><td class="mdescRight">Get the position at which padding will take place. <a href="#a44433620af9101170cdf90f5b56c9581">More...</a><br/></td></tr> <tr class="separator:a44433620af9101170cdf90f5b56c9581"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a466c599088e944d2f9a73d2d251af4f3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a466c599088e944d2f9a73d2d251af4f3">setPadPosition</a> (<a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> padPos)</td></tr> <tr class="memdesc:a466c599088e944d2f9a73d2d251af4f3"><td class="mdescLeft"> </td><td class="mdescRight">Set the position at which padding will take place. <a href="#a466c599088e944d2f9a73d2d251af4f3">More...</a><br/></td></tr> <tr class="separator:a466c599088e944d2f9a73d2d251af4f3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae27960a24003cd84116cb94d05efd893"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ae27960a24003cd84116cb94d05efd893">isScientificNotation</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:ae27960a24003cd84116cb94d05efd893"><td class="mdescLeft"> </td><td class="mdescRight">Return whether or not scientific notation is used. <a href="#ae27960a24003cd84116cb94d05efd893">More...</a><br/></td></tr> <tr class="separator:ae27960a24003cd84116cb94d05efd893"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a280ddb4755eadd569c668844eea83ec1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a280ddb4755eadd569c668844eea83ec1">setScientificNotation</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> useScientific)</td></tr> <tr class="memdesc:a280ddb4755eadd569c668844eea83ec1"><td class="mdescLeft"> </td><td class="mdescRight">Set whether or not scientific notation is used. <a href="#a280ddb4755eadd569c668844eea83ec1">More...</a><br/></td></tr> <tr class="separator:a280ddb4755eadd569c668844eea83ec1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7f2624eca4e37bfdebcb8b27f016abb0"><td class="memItemLeft" align="right" valign="top">virtual int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a7f2624eca4e37bfdebcb8b27f016abb0">getMinimumExponentDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a7f2624eca4e37bfdebcb8b27f016abb0"><td class="mdescLeft"> </td><td class="mdescRight">Return the minimum exponent digits that will be shown. <a href="#a7f2624eca4e37bfdebcb8b27f016abb0">More...</a><br/></td></tr> <tr class="separator:a7f2624eca4e37bfdebcb8b27f016abb0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa9bbe051c7f9962bb8a4a91cc32bb001"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aa9bbe051c7f9962bb8a4a91cc32bb001">setMinimumExponentDigits</a> (int8_t minExpDig)</td></tr> <tr class="memdesc:aa9bbe051c7f9962bb8a4a91cc32bb001"><td class="mdescLeft"> </td><td class="mdescRight">Set the minimum exponent digits that will be shown. <a href="#aa9bbe051c7f9962bb8a4a91cc32bb001">More...</a><br/></td></tr> <tr class="separator:aa9bbe051c7f9962bb8a4a91cc32bb001"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3f6ed363c1f0a3260153822f159ef136"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a3f6ed363c1f0a3260153822f159ef136">isExponentSignAlwaysShown</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a3f6ed363c1f0a3260153822f159ef136"><td class="mdescLeft"> </td><td class="mdescRight">Return whether the exponent sign is always shown. <a href="#a3f6ed363c1f0a3260153822f159ef136">More...</a><br/></td></tr> <tr class="separator:a3f6ed363c1f0a3260153822f159ef136"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c341614d4fcdceb83345a32ab125ec1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a4c341614d4fcdceb83345a32ab125ec1">setExponentSignAlwaysShown</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> expSignAlways)</td></tr> <tr class="memdesc:a4c341614d4fcdceb83345a32ab125ec1"><td class="mdescLeft"> </td><td class="mdescRight">Set whether the exponent sign is always shown. <a href="#a4c341614d4fcdceb83345a32ab125ec1">More...</a><br/></td></tr> <tr class="separator:a4c341614d4fcdceb83345a32ab125ec1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2609e24ab824305f1ed4c68523aa9820"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a2609e24ab824305f1ed4c68523aa9820">getGroupingSize</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a2609e24ab824305f1ed4c68523aa9820"><td class="mdescLeft"> </td><td class="mdescRight">Return the grouping size. <a href="#a2609e24ab824305f1ed4c68523aa9820">More...</a><br/></td></tr> <tr class="separator:a2609e24ab824305f1ed4c68523aa9820"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af1111f8ae6bcae827973d5114b5a1dd7"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af1111f8ae6bcae827973d5114b5a1dd7">setGroupingSize</a> (int32_t newValue)</td></tr> <tr class="memdesc:af1111f8ae6bcae827973d5114b5a1dd7"><td class="mdescLeft"> </td><td class="mdescRight">Set the grouping size. <a href="#af1111f8ae6bcae827973d5114b5a1dd7">More...</a><br/></td></tr> <tr class="separator:af1111f8ae6bcae827973d5114b5a1dd7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa215994a121009e3619e6e3884ced73b"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aa215994a121009e3619e6e3884ced73b">getSecondaryGroupingSize</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:aa215994a121009e3619e6e3884ced73b"><td class="mdescLeft"> </td><td class="mdescRight">Return the secondary grouping size. <a href="#aa215994a121009e3619e6e3884ced73b">More...</a><br/></td></tr> <tr class="separator:aa215994a121009e3619e6e3884ced73b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a489755a7c9b3a772d950c952c2e513d5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a489755a7c9b3a772d950c952c2e513d5">setSecondaryGroupingSize</a> (int32_t newValue)</td></tr> <tr class="memdesc:a489755a7c9b3a772d950c952c2e513d5"><td class="mdescLeft"> </td><td class="mdescRight">Set the secondary grouping size. <a href="#a489755a7c9b3a772d950c952c2e513d5">More...</a><br/></td></tr> <tr class="separator:a489755a7c9b3a772d950c952c2e513d5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a856515c53689f8bbedf695b17b3e3769"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a856515c53689f8bbedf695b17b3e3769">isDecimalSeparatorAlwaysShown</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a856515c53689f8bbedf695b17b3e3769"><td class="mdescLeft"> </td><td class="mdescRight">Allows you to get the behavior of the decimal separator with integers. <a href="#a856515c53689f8bbedf695b17b3e3769">More...</a><br/></td></tr> <tr class="separator:a856515c53689f8bbedf695b17b3e3769"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1c767fd7397fd26ca7c0bae7fdcf2343"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a1c767fd7397fd26ca7c0bae7fdcf2343">setDecimalSeparatorAlwaysShown</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> newValue)</td></tr> <tr class="memdesc:a1c767fd7397fd26ca7c0bae7fdcf2343"><td class="mdescLeft"> </td><td class="mdescRight">Allows you to set the behavior of the decimal separator with integers. <a href="#a1c767fd7397fd26ca7c0bae7fdcf2343">More...</a><br/></td></tr> <tr class="separator:a1c767fd7397fd26ca7c0bae7fdcf2343"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab5d50567589c29105075cecfea1c98dc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ab5d50567589c29105075cecfea1c98dc">toPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:ab5d50567589c29105075cecfea1c98dc"><td class="mdescLeft"> </td><td class="mdescRight">Synthesizes a pattern string that represents the current state of this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. <a href="#ab5d50567589c29105075cecfea1c98dc">More...</a><br/></td></tr> <tr class="separator:ab5d50567589c29105075cecfea1c98dc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1eaa21381319486ce285ab680a14c918"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a1eaa21381319486ce285ab680a14c918">toLocalizedPattern</a> (<a class="el" href="classUnicodeString.html">UnicodeString</a> &result) const </td></tr> <tr class="memdesc:a1eaa21381319486ce285ab680a14c918"><td class="mdescLeft"> </td><td class="mdescRight">Synthesizes a localized pattern string that represents the current state of this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. <a href="#a1eaa21381319486ce285ab680a14c918">More...</a><br/></td></tr> <tr class="separator:a1eaa21381319486ce285ab680a14c918"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af2d13a3de17cf4085cc82f74a915af6d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af2d13a3de17cf4085cc82f74a915af6d">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="structUParseError.html">UParseError</a> &parseError, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:af2d13a3de17cf4085cc82f74a915af6d"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given pattern to this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. <a href="#af2d13a3de17cf4085cc82f74a915af6d">More...</a><br/></td></tr> <tr class="separator:af2d13a3de17cf4085cc82f74a915af6d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1cc6a469471eeae2356819552281001b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a1cc6a469471eeae2356819552281001b">applyPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a1cc6a469471eeae2356819552281001b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the pattern. <a href="#a1cc6a469471eeae2356819552281001b">More...</a><br/></td></tr> <tr class="separator:a1cc6a469471eeae2356819552281001b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3a9842cd391ea434e18889f5b04fb42d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a3a9842cd391ea434e18889f5b04fb42d">applyLocalizedPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="structUParseError.html">UParseError</a> &parseError, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a3a9842cd391ea434e18889f5b04fb42d"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given pattern to this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. <a href="#a3a9842cd391ea434e18889f5b04fb42d">More...</a><br/></td></tr> <tr class="separator:a3a9842cd391ea434e18889f5b04fb42d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad20c4e92d192db4f70bc9631a67a0c1e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ad20c4e92d192db4f70bc9631a67a0c1e">applyLocalizedPattern</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ad20c4e92d192db4f70bc9631a67a0c1e"><td class="mdescLeft"> </td><td class="mdescRight">Apply the given pattern to this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. <a href="#ad20c4e92d192db4f70bc9631a67a0c1e">More...</a><br/></td></tr> <tr class="separator:ad20c4e92d192db4f70bc9631a67a0c1e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaf3692b04cf2fafbc536bcdaf9caea25"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aaf3692b04cf2fafbc536bcdaf9caea25">setMaximumIntegerDigits</a> (int32_t newValue)</td></tr> <tr class="memdesc:aaf3692b04cf2fafbc536bcdaf9caea25"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum number of digits allowed in the integer portion of a number. <a href="#aaf3692b04cf2fafbc536bcdaf9caea25">More...</a><br/></td></tr> <tr class="separator:aaf3692b04cf2fafbc536bcdaf9caea25"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acda98ebc96abd54c9d796e90231f3bf9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#acda98ebc96abd54c9d796e90231f3bf9">setMinimumIntegerDigits</a> (int32_t newValue)</td></tr> <tr class="memdesc:acda98ebc96abd54c9d796e90231f3bf9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the minimum number of digits allowed in the integer portion of a number. <a href="#acda98ebc96abd54c9d796e90231f3bf9">More...</a><br/></td></tr> <tr class="separator:acda98ebc96abd54c9d796e90231f3bf9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a383f882e65849d2cf59550c875f61f1d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a383f882e65849d2cf59550c875f61f1d">setMaximumFractionDigits</a> (int32_t newValue)</td></tr> <tr class="memdesc:a383f882e65849d2cf59550c875f61f1d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum number of digits allowed in the fraction portion of a number. <a href="#a383f882e65849d2cf59550c875f61f1d">More...</a><br/></td></tr> <tr class="separator:a383f882e65849d2cf59550c875f61f1d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acb6abe86ebcfd4bb0b91dec005da9d7b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#acb6abe86ebcfd4bb0b91dec005da9d7b">setMinimumFractionDigits</a> (int32_t newValue)</td></tr> <tr class="memdesc:acb6abe86ebcfd4bb0b91dec005da9d7b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the minimum number of digits allowed in the fraction portion of a number. <a href="#acb6abe86ebcfd4bb0b91dec005da9d7b">More...</a><br/></td></tr> <tr class="separator:acb6abe86ebcfd4bb0b91dec005da9d7b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0f903265e1115115509d1d45da5c5d15"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a0f903265e1115115509d1d45da5c5d15">getMinimumSignificantDigits</a> () const </td></tr> <tr class="memdesc:a0f903265e1115115509d1d45da5c5d15"><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum number of significant digits that will be displayed. <a href="#a0f903265e1115115509d1d45da5c5d15">More...</a><br/></td></tr> <tr class="separator:a0f903265e1115115509d1d45da5c5d15"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a415f43f510424b6606d8529933e6a284"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a415f43f510424b6606d8529933e6a284">getMaximumSignificantDigits</a> () const </td></tr> <tr class="memdesc:a415f43f510424b6606d8529933e6a284"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum number of significant digits that will be displayed. <a href="#a415f43f510424b6606d8529933e6a284">More...</a><br/></td></tr> <tr class="separator:a415f43f510424b6606d8529933e6a284"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af970944ad7d9d249aeb488bd4872fe2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af970944ad7d9d249aeb488bd4872fe2a">setMinimumSignificantDigits</a> (int32_t min)</td></tr> <tr class="memdesc:af970944ad7d9d249aeb488bd4872fe2a"><td class="mdescLeft"> </td><td class="mdescRight">Sets the minimum number of significant digits that will be displayed. <a href="#af970944ad7d9d249aeb488bd4872fe2a">More...</a><br/></td></tr> <tr class="separator:af970944ad7d9d249aeb488bd4872fe2a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a985457f807266318caaa13a20554906b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a985457f807266318caaa13a20554906b">setMaximumSignificantDigits</a> (int32_t max)</td></tr> <tr class="memdesc:a985457f807266318caaa13a20554906b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum number of significant digits that will be displayed. <a href="#a985457f807266318caaa13a20554906b">More...</a><br/></td></tr> <tr class="separator:a985457f807266318caaa13a20554906b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8dfe7ad867c1480858a6902314bc96b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a8dfe7ad867c1480858a6902314bc96b9">areSignificantDigitsUsed</a> () const </td></tr> <tr class="memdesc:a8dfe7ad867c1480858a6902314bc96b9"><td class="mdescLeft"> </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="#a8dfe7ad867c1480858a6902314bc96b9">More...</a><br/></td></tr> <tr class="separator:a8dfe7ad867c1480858a6902314bc96b9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aea4a7be245a5094ad7225a443ee39409"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aea4a7be245a5094ad7225a443ee39409">setSignificantDigitsUsed</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> useSignificantDigits)</td></tr> <tr class="memdesc:aea4a7be245a5094ad7225a443ee39409"><td class="mdescLeft"> </td><td class="mdescRight">Sets whether significant digits are in use, or integer and fraction digit counts are in use. <a href="#aea4a7be245a5094ad7225a443ee39409">More...</a><br/></td></tr> <tr class="separator:aea4a7be245a5094ad7225a443ee39409"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c87fca5e0d14886bdaa4e0969f814e5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a4c87fca5e0d14886bdaa4e0969f814e5">setCurrency</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *theCurrency, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &ec)</td></tr> <tr class="memdesc:a4c87fca5e0d14886bdaa4e0969f814e5"><td class="mdescLeft"> </td><td class="mdescRight">Sets the currency used to display currency amounts. <a href="#a4c87fca5e0d14886bdaa4e0969f814e5">More...</a><br/></td></tr> <tr class="separator:a4c87fca5e0d14886bdaa4e0969f814e5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2ac00a272f0b9f01c4004372c417d347"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a2ac00a272f0b9f01c4004372c417d347">setCurrency</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *theCurrency)</td></tr> <tr class="memdesc:a2ac00a272f0b9f01c4004372c417d347"><td class="mdescLeft"> </td><td class="mdescRight">Sets the currency used to display currency amounts. <a href="#a2ac00a272f0b9f01c4004372c417d347">More...</a><br/></td></tr> <tr class="separator:a2ac00a272f0b9f01c4004372c417d347"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29d58da07dee220c1661ec37397babb2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a29d58da07dee220c1661ec37397babb2">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a29d58da07dee220c1661ec37397babb2"><td class="mdescLeft"> </td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY. <a href="#a29d58da07dee220c1661ec37397babb2">More...</a><br/></td></tr> <tr class="separator:a29d58da07dee220c1661ec37397babb2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classNumberFormat')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr> <tr class="memitem:ab9364f134c85197678bdb68352f2ee15 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ab9364f134c85197678bdb68352f2ee15">~NumberFormat</a> ()</td></tr> <tr class="memdesc:ab9364f134c85197678bdb68352f2ee15 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab9364f134c85197678bdb68352f2ee15">More...</a><br/></td></tr> <tr class="separator:ab9364f134c85197678bdb68352f2ee15 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aae2d85a1f97ae55faf249a4a0f429976 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aae2d85a1f97ae55faf249a4a0f429976">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &source, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="classParsePosition.html">ParsePosition</a> &parse_pos) const </td></tr> <tr class="memdesc:aae2d85a1f97ae55faf249a4a0f429976 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parse a string to produce an object. <a href="#aae2d85a1f97ae55faf249a4a0f429976">More...</a><br/></td></tr> <tr class="separator:aae2d85a1f97ae55faf249a4a0f429976 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad0d0bf658489e6a530a6c7716ef44320 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ad0d0bf658489e6a530a6c7716ef44320">format</a> (double number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:ad0d0bf658489e6a530a6c7716ef44320 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a double number. <a href="#ad0d0bf658489e6a530a6c7716ef44320">More...</a><br/></td></tr> <tr class="separator:ad0d0bf658489e6a530a6c7716ef44320 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aaa05c67fc637d9127756d854581a17fc inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aaa05c67fc637d9127756d854581a17fc">format</a> (int32_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:aaa05c67fc637d9127756d854581a17fc inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a long number. <a href="#aaa05c67fc637d9127756d854581a17fc">More...</a><br/></td></tr> <tr class="separator:aaa05c67fc637d9127756d854581a17fc inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acfd48a8b10451ea0dd4fcc3cfb121b4b inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#acfd48a8b10451ea0dd4fcc3cfb121b4b">format</a> (int64_t number, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo) const </td></tr> <tr class="memdesc:acfd48a8b10451ea0dd4fcc3cfb121b4b inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> an int64 number. <a href="#acfd48a8b10451ea0dd4fcc3cfb121b4b">More...</a><br/></td></tr> <tr class="separator:acfd48a8b10451ea0dd4fcc3cfb121b4b inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a67d754f52d336d911454e97ba32654de inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a67d754f52d336d911454e97ba32654de">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a67d754f52d336d911454e97ba32654de inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Redeclared <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> method. <a href="#a67d754f52d336d911454e97ba32654de">More...</a><br/></td></tr> <tr class="separator:a67d754f52d336d911454e97ba32654de inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a680f60d204c0d00bb06f65d7c3ea716a inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a680f60d204c0d00bb06f65d7c3ea716a">isParseIntegerOnly</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a680f60d204c0d00bb06f65d7c3ea716a inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Return true if this format will parse numbers as integers only. <a href="#a680f60d204c0d00bb06f65d7c3ea716a">More...</a><br/></td></tr> <tr class="separator:a680f60d204c0d00bb06f65d7c3ea716a inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac9b8eb834f6d18a61661cff71b954e52 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ac9b8eb834f6d18a61661cff71b954e52">setParseIntegerOnly</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> value)</td></tr> <tr class="memdesc:ac9b8eb834f6d18a61661cff71b954e52 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Sets whether or not numbers should be parsed as integers only. <a href="#ac9b8eb834f6d18a61661cff71b954e52">More...</a><br/></td></tr> <tr class="separator:ac9b8eb834f6d18a61661cff71b954e52 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6fe9bf9d863b9c85ba8f61699e2bbd5b inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a6fe9bf9d863b9c85ba8f61699e2bbd5b">isGroupingUsed</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a6fe9bf9d863b9c85ba8f61699e2bbd5b inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if grouping is used in this format. <a href="#a6fe9bf9d863b9c85ba8f61699e2bbd5b">More...</a><br/></td></tr> <tr class="separator:a6fe9bf9d863b9c85ba8f61699e2bbd5b inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a42f1ff1c899ec393a87ef24cfdfdd0a1 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a42f1ff1c899ec393a87ef24cfdfdd0a1">setGroupingUsed</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> newValue)</td></tr> <tr class="memdesc:a42f1ff1c899ec393a87ef24cfdfdd0a1 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Set whether or not grouping will be used in this format. <a href="#a42f1ff1c899ec393a87ef24cfdfdd0a1">More...</a><br/></td></tr> <tr class="separator:a42f1ff1c899ec393a87ef24cfdfdd0a1 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b06a7feabb695be2e5f16a60a377cf3 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a1b06a7feabb695be2e5f16a60a377cf3">getMaximumIntegerDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a1b06a7feabb695be2e5f16a60a377cf3 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum number of digits allowed in the integer portion of a number. <a href="#a1b06a7feabb695be2e5f16a60a377cf3">More...</a><br/></td></tr> <tr class="separator:a1b06a7feabb695be2e5f16a60a377cf3 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa821c67615bf12bf1e8f1157108f6ad0 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aa821c67615bf12bf1e8f1157108f6ad0">getMinimumIntegerDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:aa821c67615bf12bf1e8f1157108f6ad0 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum number of digits allowed in the integer portion of a number. <a href="#aa821c67615bf12bf1e8f1157108f6ad0">More...</a><br/></td></tr> <tr class="separator:aa821c67615bf12bf1e8f1157108f6ad0 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae2d2e103f14b46234f6dc90125c98eb1 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ae2d2e103f14b46234f6dc90125c98eb1">getMaximumFractionDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:ae2d2e103f14b46234f6dc90125c98eb1 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum number of digits allowed in the fraction portion of a number. <a href="#ae2d2e103f14b46234f6dc90125c98eb1">More...</a><br/></td></tr> <tr class="separator:ae2d2e103f14b46234f6dc90125c98eb1 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a11eb09d7b8f01e40766898f4614598a2 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a11eb09d7b8f01e40766898f4614598a2">getMinimumFractionDigits</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a11eb09d7b8f01e40766898f4614598a2 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum number of digits allowed in the fraction portion of a number. <a href="#a11eb09d7b8f01e40766898f4614598a2">More...</a><br/></td></tr> <tr class="separator:a11eb09d7b8f01e40766898f4614598a2 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acc485325edc696f35f73cbdad75eed59 inherit pub_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#acc485325edc696f35f73cbdad75eed59">getCurrency</a> () const </td></tr> <tr class="memdesc:acc485325edc696f35f73cbdad75eed59 inherit pub_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Gets the currency used to display currency amounts. <a href="#acc485325edc696f35f73cbdad75eed59">More...</a><br/></td></tr> <tr class="separator:acc485325edc696f35f73cbdad75eed59 inherit pub_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classFormat')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr> <tr class="memitem:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#aafee703f14d0f5ddb264b708a75174a8">~Format</a> ()</td></tr> <tr class="memdesc:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aafee703f14d0f5ddb264b708a75174a8">More...</a><br/></td></tr> <tr class="separator:aafee703f14d0f5ddb264b708a75174a8 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a4f65d87226814931dde8b035f47b69f3">operator!=</a> (const <a class="el" href="classFormat.html">Format</a> &other) const </td></tr> <tr class="memdesc:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are not semantically equal. <a href="#a4f65d87226814931dde8b035f47b69f3">More...</a><br/></td></tr> <tr class="separator:a4f65d87226814931dde8b035f47b69f3 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600">format</a> (const <a class="el" href="classFormattable.html">Formattable</a> &obj, <a class="el" href="classUnicodeString.html">UnicodeString</a> &appendTo, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Formats an object to produce a string. <a href="#af3f0b157f07d6e9f908da69c99239600">More...</a><br/></td></tr> <tr class="separator:af3f0b157f07d6e9f908da69c99239600 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a90da11177ef906f464d63ca14300e1c9">parseObject</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &source, <a class="el" href="classFormattable.html">Formattable</a> &result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Parses a string to produce an object. <a href="#a90da11177ef906f464d63ca14300e1c9">More...</a><br/></td></tr> <tr class="separator:a90da11177ef906f464d63ca14300e1c9 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLocale.html">Locale</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a4502b04fe77be54f9f0343a87156fbd5">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this format object. <a href="#a4502b04fe77be54f9f0343a87156fbd5">More...</a><br/></td></tr> <tr class="separator:a4502b04fe77be54f9f0343a87156fbd5 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ad8ca4e4cbd2a11b4de3c748c48c7c536">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this format object. <a href="#ad8ca4e4cbd2a11b4de3c748c48c7c536">More...</a><br/></td></tr> <tr class="separator:ad8ca4e4cbd2a11b4de3c748c48c7c536 inherit pub_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr> <tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr> <tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr> <tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a2c44dda0c6621b3ff10b120fd760ea88"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a2c44dda0c6621b3ff10b120fd760ea88">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a2c44dda0c6621b3ff10b120fd760ea88"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a2c44dda0c6621b3ff10b120fd760ea88">More...</a><br/></td></tr> <tr class="separator:a2c44dda0c6621b3ff10b120fd760ea88"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classNumberFormat')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr> <tr class="memitem:a2483fa1e87f3600395ff0c8f364f7b6f inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a2483fa1e87f3600395ff0c8f364f7b6f">createInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:a2483fa1e87f3600395ff0c8f364f7b6f inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the default number format for the current default locale. <a href="#a2483fa1e87f3600395ff0c8f364f7b6f">More...</a><br/></td></tr> <tr class="separator:a2483fa1e87f3600395ff0c8f364f7b6f inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3aa6fc5e68d9d646998dbf8c91b939e2 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a3aa6fc5e68d9d646998dbf8c91b939e2">createInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:a3aa6fc5e68d9d646998dbf8c91b939e2 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns the default number format for the specified locale. <a href="#a3aa6fc5e68d9d646998dbf8c91b939e2">More...</a><br/></td></tr> <tr class="separator:a3aa6fc5e68d9d646998dbf8c91b939e2 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0c5d7b55f149281ed063e6bf631e1433 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a0c5d7b55f149281ed063e6bf631e1433">createCurrencyInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:a0c5d7b55f149281ed063e6bf631e1433 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a currency format for the current default locale. <a href="#a0c5d7b55f149281ed063e6bf631e1433">More...</a><br/></td></tr> <tr class="separator:a0c5d7b55f149281ed063e6bf631e1433 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aafc5e5013c7ff22c53195bc30e63b845 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aafc5e5013c7ff22c53195bc30e63b845">createCurrencyInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:aafc5e5013c7ff22c53195bc30e63b845 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a currency format for the specified locale. <a href="#aafc5e5013c7ff22c53195bc30e63b845">More...</a><br/></td></tr> <tr class="separator:aafc5e5013c7ff22c53195bc30e63b845 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a033f486287d03fc07ccf422992a3e894 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a033f486287d03fc07ccf422992a3e894">createPercentInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:a033f486287d03fc07ccf422992a3e894 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a percentage format for the current default locale. <a href="#a033f486287d03fc07ccf422992a3e894">More...</a><br/></td></tr> <tr class="separator:a033f486287d03fc07ccf422992a3e894 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac0b6f6d8fc351a0aad06910dfe043f91 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ac0b6f6d8fc351a0aad06910dfe043f91">createPercentInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:ac0b6f6d8fc351a0aad06910dfe043f91 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a percentage format for the specified locale. <a href="#ac0b6f6d8fc351a0aad06910dfe043f91">More...</a><br/></td></tr> <tr class="separator:ac0b6f6d8fc351a0aad06910dfe043f91 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aed63bba10230ae92fc98f50031eadf75 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aed63bba10230ae92fc98f50031eadf75">createScientificInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:aed63bba10230ae92fc98f50031eadf75 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a scientific format for the current default locale. <a href="#aed63bba10230ae92fc98f50031eadf75">More...</a><br/></td></tr> <tr class="separator:aed63bba10230ae92fc98f50031eadf75 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa26a23ba85c6dac9b8f429d1fe7d695f inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classNumberFormat.html">NumberFormat</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aa26a23ba85c6dac9b8f429d1fe7d695f">createScientificInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &inLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &)</td></tr> <tr class="memdesc:aa26a23ba85c6dac9b8f429d1fe7d695f inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Returns a scientific format for the specified locale. <a href="#aa26a23ba85c6dac9b8f429d1fe7d695f">More...</a><br/></td></tr> <tr class="separator:aa26a23ba85c6dac9b8f429d1fe7d695f inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8f18e4922ee902adabdd355311fd11ae inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a8f18e4922ee902adabdd355311fd11ae">getAvailableLocales</a> (int32_t &count)</td></tr> <tr class="memdesc:a8f18e4922ee902adabdd355311fd11ae inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Get the set of Locales for which NumberFormats are installed. <a href="#a8f18e4922ee902adabdd355311fd11ae">More...</a><br/></td></tr> <tr class="separator:a8f18e4922ee902adabdd355311fd11ae inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a83e8d5a07d0b2c1444c051ab442e6c3e inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a83e8d5a07d0b2c1444c051ab442e6c3e">registerFactory</a> (<a class="el" href="classNumberFormatFactory.html">NumberFormatFactory</a> *toAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a83e8d5a07d0b2c1444c051ab442e6c3e inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Register a new <a class="el" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats. ">NumberFormatFactory</a>. <a href="#a83e8d5a07d0b2c1444c051ab442e6c3e">More...</a><br/></td></tr> <tr class="separator:a83e8d5a07d0b2c1444c051ab442e6c3e inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab6ecd9973fd855a9028af8cadbf0a4c3 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#ab6ecd9973fd855a9028af8cadbf0a4c3">unregister</a> (<a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:ab6ecd9973fd855a9028af8cadbf0a4c3 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Unregister a previously-registered <a class="el" href="classNumberFormatFactory.html" title="A NumberFormatFactory is used to register new number formats. ">NumberFormatFactory</a> using the key returned from the register call. <a href="#ab6ecd9973fd855a9028af8cadbf0a4c3">More...</a><br/></td></tr> <tr class="separator:ab6ecd9973fd855a9028af8cadbf0a4c3 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a29addeb994249b22539ef1659d4017c7 inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a29addeb994249b22539ef1659d4017c7">getAvailableLocales</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a29addeb994249b22539ef1659d4017c7 inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Return a <a class="el" href="classStringEnumeration.html" title="Base class for 'pure' C++ implementations of uenum api. ">StringEnumeration</a> over the locales available at the time of the call, including registered locales. <a href="#a29addeb994249b22539ef1659d4017c7">More...</a><br/></td></tr> <tr class="separator:a29addeb994249b22539ef1659d4017c7 inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acfeb8972959e9383b026761d0e9e1e5e inherit pub_static_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#acfeb8972959e9383b026761d0e9e1e5e">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:acfeb8972959e9383b026761d0e9e1e5e inherit pub_static_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#acfeb8972959e9383b026761d0e9e1e5e">More...</a><br/></td></tr> <tr class="separator:acfeb8972959e9383b026761d0e9e1e5e inherit pub_static_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr> <tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr> <tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr> <tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr> <tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr> <tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr> <tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr> <tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management. <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr> <tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr> <tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr> <tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr> <tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft"> </td><td class="mdescRight">Override for ICU4C C++ memory management for STL. <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr> <tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a> Static Public Attributes</h2></td></tr> <tr class="memitem:af41fc1a3bde85bec4649668300f60148"><td class="memItemLeft" align="right" valign="top">static const char </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#af41fc1a3bde85bec4649668300f60148">fgNumberPatterns</a> []</td></tr> <tr class="memdesc:af41fc1a3bde85bec4649668300f60148"><td class="mdescLeft"> </td><td class="mdescRight">The resource tags we use to retrieve decimal format data from locale resource bundles. <a href="#af41fc1a3bde85bec4649668300f60148">More...</a><br/></td></tr> <tr class="separator:af41fc1a3bde85bec4649668300f60148"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a9ff71ee7d761b1f802aa7e5d899ebe5c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a9ff71ee7d761b1f802aa7e5d899ebe5c">getEffectiveCurrency</a> (<a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &ec) const </td></tr> <tr class="memdesc:a9ff71ee7d761b1f802aa7e5d899ebe5c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the currency in effect for this formatter. <a href="#a9ff71ee7d761b1f802aa7e5d899ebe5c">More...</a><br/></td></tr> <tr class="separator:a9ff71ee7d761b1f802aa7e5d899ebe5c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classNumberFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classNumberFormat')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classNumberFormat.html">NumberFormat</a></td></tr> <tr class="memitem:a456d960b53c9f61acbf443f5fd56e7dc inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a456d960b53c9f61acbf443f5fd56e7dc">NumberFormat</a> ()</td></tr> <tr class="memdesc:a456d960b53c9f61acbf443f5fd56e7dc inherit pro_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor for subclass use only. <a href="#a456d960b53c9f61acbf443f5fd56e7dc">More...</a><br/></td></tr> <tr class="separator:a456d960b53c9f61acbf443f5fd56e7dc inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aabbf4f0a039756b6ba100aadc7cede99 inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#aabbf4f0a039756b6ba100aadc7cede99">NumberFormat</a> (const <a class="el" href="classNumberFormat.html">NumberFormat</a> &)</td></tr> <tr class="memdesc:aabbf4f0a039756b6ba100aadc7cede99 inherit pro_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#aabbf4f0a039756b6ba100aadc7cede99">More...</a><br/></td></tr> <tr class="separator:aabbf4f0a039756b6ba100aadc7cede99 inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b9d5c0937f4da69d9a229fd10f8ec38 inherit pro_methods_classNumberFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classNumberFormat.html">NumberFormat</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classNumberFormat.html#a8b9d5c0937f4da69d9a229fd10f8ec38">operator=</a> (const <a class="el" href="classNumberFormat.html">NumberFormat</a> &)</td></tr> <tr class="memdesc:a8b9d5c0937f4da69d9a229fd10f8ec38 inherit pro_methods_classNumberFormat"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a8b9d5c0937f4da69d9a229fd10f8ec38">More...</a><br/></td></tr> <tr class="separator:a8b9d5c0937f4da69d9a229fd10f8ec38 inherit pro_methods_classNumberFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classFormat')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr> <tr class="memitem:ae15f405ad3805e8d6691354047b500ca inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ae15f405ad3805e8d6691354047b500ca">setLocaleIDs</a> (const char *valid, const char *actual)</td></tr> <tr class="separator:ae15f405ad3805e8d6691354047b500ca inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a9326a787208f39b9544fc6fcbcbfcad3">Format</a> ()</td></tr> <tr class="memdesc:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor for subclass use only. <a href="#a9326a787208f39b9544fc6fcbcbfcad3">More...</a><br/></td></tr> <tr class="separator:a9326a787208f39b9544fc6fcbcbfcad3 inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab69111c370cfe44f9508e78e5431cc65 inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#ab69111c370cfe44f9508e78e5431cc65">Format</a> (const <a class="el" href="classFormat.html">Format</a> &)</td></tr> <tr class="separator:ab69111c370cfe44f9508e78e5431cc65 inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a5276a88c488462eea3a508b71f4d9c inherit pro_methods_classFormat"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classFormat.html">Format</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">operator=</a> (const <a class="el" href="classFormat.html">Format</a> &)</td></tr> <tr class="separator:a7a5276a88c488462eea3a508b71f4d9c inherit pro_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a> Static Protected Attributes</h2></td></tr> <tr class="memitem:a8d5140e73b831fedb039ccf3c303c156"><td class="memItemLeft" align="right" valign="top">static const int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#a8d5140e73b831fedb039ccf3c303c156">kDoubleIntegerDigits</a></td></tr> <tr class="memdesc:a8d5140e73b831fedb039ccf3c303c156"><td class="mdescLeft"> </td><td class="mdescRight">number of integer digits <a href="#a8d5140e73b831fedb039ccf3c303c156">More...</a><br/></td></tr> <tr class="separator:a8d5140e73b831fedb039ccf3c303c156"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab499b677e78e3320d6704b21f8a3ad23"><td class="memItemLeft" align="right" valign="top">static const int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#ab499b677e78e3320d6704b21f8a3ad23">kDoubleFractionDigits</a></td></tr> <tr class="memdesc:ab499b677e78e3320d6704b21f8a3ad23"><td class="mdescLeft"> </td><td class="mdescRight">number of fraction digits <a href="#ab499b677e78e3320d6704b21f8a3ad23">More...</a><br/></td></tr> <tr class="separator:ab499b677e78e3320d6704b21f8a3ad23"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aefc212fd0526b37ca733b1827d28f440"><td class="memItemLeft" align="right" valign="top">static const int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classDecimalFormat.html#aefc212fd0526b37ca733b1827d28f440">kMaxScientificIntegerDigits</a></td></tr> <tr class="memdesc:aefc212fd0526b37ca733b1827d28f440"><td class="mdescLeft"> </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="#aefc212fd0526b37ca733b1827d28f440">More...</a><br/></td></tr> <tr class="separator:aefc212fd0526b37ca733b1827d28f440"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_static_methods_classFormat"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classFormat')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classFormat.html">Format</a></td></tr> <tr class="memitem:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classFormat.html#a98213ada53770537d242f4bf0ba43b73">syntaxError</a> (const <a class="el" href="classUnicodeString.html">UnicodeString</a> &pattern, int32_t pos, <a class="el" href="structUParseError.html">UParseError</a> &parseError)</td></tr> <tr class="memdesc:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="mdescLeft"> </td><td class="mdescRight">Simple function for initializing a <a class="el" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors. ">UParseError</a> from a <a class="el" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>. <a href="#a98213ada53770537d242f4bf0ba43b73">More...</a><br/></td></tr> <tr class="separator:a98213ada53770537d242f4bf0ba43b73 inherit pro_static_methods_classFormat"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> is a concrete subclass of <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> that formats decimal numbers. </p> <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> <p>To obtain a <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> for a specific locale (including the default locale) call one of <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a>'s factory methods such as <a class="el" href="classNumberFormat.html#a2483fa1e87f3600395ff0c8f364f7b6f" title="Returns the default number format for the current default locale. ">createInstance()</a>. Do not call the <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> constructors directly, unless you know what you are doing, since the <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> factory methods may return subclasses other than <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a>.</p> <p><b>Example Usage</b></p> <div class="fragment"><div class="line">* <span class="comment">// Normally we would have a GUI with a menu for this</span></div> <div class="line">* int32_t locCount;</div> <div class="line">* <span class="keyword">const</span> <a class="code" href="classLocale.html">Locale</a>* locales = <a class="code" href="classNumberFormat.html#a29addeb994249b22539ef1659d4017c7">NumberFormat::getAvailableLocales</a>(locCount);</div> <div class="line">* </div> <div class="line">* <span class="keywordtype">double</span> myNumber = -1234.56;</div> <div class="line">* <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> success = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;</div> <div class="line">* <a class="code" href="classNumberFormat.html">NumberFormat</a>* form;</div> <div class="line">* </div> <div class="line">* <span class="comment">// Print out a number with the localized number, currency and percent</span></div> <div class="line">* <span class="comment">// format for each locale.</span></div> <div class="line">* <a class="code" href="classUnicodeString.html">UnicodeString</a> countryName;</div> <div class="line">* <a class="code" href="classUnicodeString.html">UnicodeString</a> displayName;</div> <div class="line">* <a class="code" href="classUnicodeString.html">UnicodeString</a> str;</div> <div class="line">* <a class="code" href="classUnicodeString.html">UnicodeString</a> pattern;</div> <div class="line">* <a class="code" href="classFormattable.html">Formattable</a> fmtable;</div> <div class="line">* <span class="keywordflow">for</span> (int32_t j = 0; j < 3; ++j) {</div> <div class="line">* cout << endl << <span class="stringliteral">"FORMAT "</span> << j << endl;</div> <div class="line">* <span class="keywordflow">for</span> (int32_t i = 0; i < locCount; ++i) {</div> <div class="line">* <span class="keywordflow">if</span> (locales[i].getCountry(countryName).size() == 0) {</div> <div class="line">* <span class="comment">// skip language-only</span></div> <div class="line">* <span class="keywordflow">continue</span>;</div> <div class="line">* }</div> <div class="line">* <span class="keywordflow">switch</span> (j) {</div> <div class="line">* <span class="keywordflow">case</span> 0:</div> <div class="line">* form = <a class="code" href="classNumberFormat.html#a2483fa1e87f3600395ff0c8f364f7b6f">NumberFormat::createInstance</a>(locales[i], success ); <span class="keywordflow">break</span>;</div> <div class="line">* <span class="keywordflow">case</span> 1:</div> <div class="line">* form = <a class="code" href="classNumberFormat.html#a0c5d7b55f149281ed063e6bf631e1433">NumberFormat::createCurrencyInstance</a>(locales[i], success ); <span class="keywordflow">break</span>;</div> <div class="line">* <span class="keywordflow">default</span>:</div> <div class="line">* form = <a class="code" href="classNumberFormat.html#a033f486287d03fc07ccf422992a3e894">NumberFormat::createPercentInstance</a>(locales[i], success ); <span class="keywordflow">break</span>;</div> <div class="line">* }</div> <div class="line">* <span class="keywordflow">if</span> (form) {</div> <div class="line">* str.<a class="code" href="classUnicodeString.html#aee0fec9568ee616e330627bf371eda8d">remove</a>();</div> <div class="line">* pattern = ((<a class="code" href="classDecimalFormat.html">DecimalFormat</a>*)form)->toPattern(pattern);</div> <div class="line">* cout << locales[i].<a class="code" href="classLocale.html#abf9e7097a9cc828b346e61c47e5e23c5">getDisplayName</a>(displayName) << <span class="stringliteral">": "</span> << pattern;</div> <div class="line">* cout << <span class="stringliteral">" -> "</span> << form-><a class="code" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36">format</a>(myNumber,str) << endl;</div> <div class="line">* form-><a class="code" href="classNumberFormat.html#ab2c59c0b036a413b6735c6d50b88ae25">parse</a>(form-><a class="code" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36">format</a>(myNumber,str), fmtable, success);</div> <div class="line">* <span class="keyword">delete</span> form; </div> <div class="line">* }</div> <div class="line">* }</div> <div class="line">* }</div> <div class="line">* </div> </div><!-- fragment --><p><b>Patterns</b></p> <p>A <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">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#af2d13a3de17cf4085cc82f74a915af6d" title="Apply the given pattern to this Format object. ">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" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> object. When using the <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> factory methods, the pattern and symbols are read from ICU's locale data.</p> <p><b>Special Pattern Characters</b></p> <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> <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> <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" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">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> @</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> ¤</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" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">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> <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#afe6f4084b4a6ccff6977501d90011fa4" title="Parse the given string using this object's choices. ">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> <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> <p>Illegal patterns, such as "#.#.#" or "#.###,###", will cause <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> to set a failing UErrorCode.</p> <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   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><p> The first subpattern is for positive numbers. The second (optional) subpattern is for negative numbers.</p> <p>Not indicated in the BNF syntax above:</p> <ul> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></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> <p><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> parses all Unicode characters that represent decimal digits, as defined by <a class="el" href="uchar_8h.html#afd684aeceb3d5c45028fd3e89d91a193" title="Returns the decimal digit value of a decimal digit character. ">u_charDigitValue()</a>. In addition, <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">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" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> object. During formatting, the DecimalFormatSymbols-based digits are output.</p> <p>During parsing, grouping separators are ignored.</p> <p>If parse(UnicodeString&,Formattable&,ParsePosition&) fails to parse a string, it leaves the parse position unchanged. The convenience method parse(UnicodeString&,Formattable&,UErrorCode&) indicates parse failure by setting a failing UErrorCode.</p> <p><b>Formatting</b></p> <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> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></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> <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" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> object. This is the only value for which the prefixes and suffixes are not used.</p> <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" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> object.</p> <p><a class="anchor" id="sci"></a><b>Scientific Notation</b></p> <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" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> supports arbitrary mantissas. <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">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> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">The number of significant digits shown is determined as follows: If <a class="el" href="classDecimalFormat.html#a8dfe7ad867c1480858a6902314bc96b9" title="Returns true if significant digits are in use, or false if integer and fraction digit counts are in u...">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#a8dfe7ad867c1480858a6902314bc96b9" title="Returns true if significant digits are in use, or false if integer and fraction digit counts are in u...">areSignificantDigitsUsed()</a> returns true, then the significant digit counts are specified by <a class="el" href="classDecimalFormat.html#a0f903265e1115115509d1d45da5c5d15" title="Returns the minimum number of significant digits that will be displayed. ">getMinimumSignificantDigits()</a> and <a class="el" href="classDecimalFormat.html#a415f43f510424b6606d8529933e6a284" title="Returns the maximum number of significant digits that will be displayed. ">getMaximumSignificantDigits()</a>. In this case, the number of integer digits is fixed at one, and there is no exponent grouping.</p> <p class="endli"></p> </li> <li> Exponential patterns may not contain grouping separators. </li> </ul> <p><a class="anchor" id="sigdig"></a><b>Significant Digits</b></p> <p><code><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">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#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">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> <ul> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">In order to enable significant digits formatting, use a pattern containing the <code>'@'</code> pattern character. Alternatively, call setSignificantDigitsUsed(TRUE).</p> <p class="endli"></p> </li> <li> <p class="startli">In order to disable significant digits formatting, use a pattern that does not contain the <code>'@'</code> pattern character. Alternatively, call setSignificantDigitsUsed(FALSE).</p> <p class="endli"></p> </li> <li> <p class="startli">The number of significant digits has no effect on parsing.</p> <p class="endli"></p> </li> <li> <p class="startli">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#a0f903265e1115115509d1d45da5c5d15" title="Returns the minimum number of significant digits that will be displayed. ">getMinimumSignificantDigits()</a> - 1</code>, and a maximum fraction digit count of <code><a class="el" href="classDecimalFormat.html#a415f43f510424b6606d8529933e6a284" title="Returns the maximum number of significant digits that will be displayed. ">getMaximumSignificantDigits()</a> - 1</code>. For example, the pattern <code>"@@###E0"</code> is equivalent to <code>"0.0###E0"</code>.</p> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> </ul> <p><b>Padding</b></p> <p><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> supports padding the result of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">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#a4c2a2e4ee6b5ab0e527565d8a252a9b3" title="Set one of the format symbols by its enum constant. ">DecimalFormatSymbols::setSymbol()</a> with a <a class="el" href="classDecimalFormatSymbols.html#a165fe72713f240477c2d4572a77997e5a7e2aaf6cc78c1f63bda0bd7295bc97c3" title="Escape padding character. ">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> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">The width is counted in 16-bit code units (UChars).</p> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> <li> <p class="startli">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#af2d13a3de17cf4085cc82f74a915af6d" title="Apply the given pattern to this Format object. ">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> <p class="endli"></p> </li> <li> <p class="startli">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> <p class="endli"></p> </li> </ul> <p><b>Rounding</b></p> <p><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">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</p> <ol type="1"> <li>"#,##0.05" specifies a rounding increment of 0.05.</li> </ol> <ul> <li> <p class="startli">Rounding only affects the string produced by formatting. It does not affect parsing or change any numerical values.</p> <p class="endli"></p> </li> <li> <p class="startli">A <em>rounding mode</em> determines how values are rounded; see <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7" title="Rounding mode. ">DecimalFormat::ERoundingMode</a>. Rounding increments specified in patterns use the default mode, <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7a66aca6588fc0e4dbf998f1218c650a8e" title="Round towards the nearest integer, or towards the nearest even integer if equidistant. ">DecimalFormat::kRoundHalfEven</a>.</p> <p class="endli"></p> </li> <li> <p class="startli">Some locales use rounding in their currency formats to reflect the smallest currency denomination.</p> <p class="endli"></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> <p><a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> objects are not synchronized. Multiple threads should not access one formatter concurrently.</p> <p><b>Subclassing</b></p> <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>.</p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="ad9cabc444ffb51c72c4c11be6d004e21"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">DecimalFormat::EPadPosition</a></td> </tr> </table> </div><div class="memdoc"> <p>Pad position. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002280">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>.</p> </div> </div> <a class="anchor" id="a00f3e49ce35985df764feb658371b7e7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">DecimalFormat::ERoundingMode</a></td> </tr> </table> </div><div class="memdoc"> <p>Rounding mode. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002279">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7af146ca0a8b344f70cecb3803ae0f570b"></a>kRoundCeiling</em> </td><td class="fielddoc"> <p>Round towards positive infinity. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7abfbc6479dc0e17828284c1c9defb1a6b"></a>kRoundFloor</em> </td><td class="fielddoc"> <p>Round towards negative infinity. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7a2533285a97586f0dbd50b800fd6122c8"></a>kRoundDown</em> </td><td class="fielddoc"> <p>Round towards zero. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7a704fbaff22d357bf8e050996bd685301"></a>kRoundUp</em> </td><td class="fielddoc"> <p>Round away from zero. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7a66aca6588fc0e4dbf998f1218c650a8e"></a>kRoundHalfEven</em> </td><td class="fielddoc"> <p>Round towards the nearest integer, or towards the nearest even integer if equidistant. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7aa6798557d8ca6479fcaf9f413f149471"></a>kRoundHalfDown</em> </td><td class="fielddoc"> <p>Round towards the nearest integer, or towards zero if equidistant. </p> </td></tr> <tr><td class="fieldname"><em><a class="anchor" id="a00f3e49ce35985df764feb658371b7e7ab7ea67fe0f5eb967ab3e21ec59aec926"></a>kRoundHalfUp</em> </td><td class="fielddoc"> <p>Round towards the nearest integer, or away from zero if equidistant. </p> </td></tr> </table> <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>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a8a421e9ca43a31cb308c8052cf82850e"></a> <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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> using the default pattern and symbols for the default locale. </p> <p>This is a convenient way to obtain a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> when internationalization is not the main concern. </p> <p>To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> such as createInstance. These factories will return the most appropriate sub-class of <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> for a given locale. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002281">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aaadc21eab2ef6252f25eada5440e3c65"></a> <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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and the symbols for the default locale. </p> <p>This is a convenient way to obtain a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> when internationalization is not the main concern. </p> <p>To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> such as createInstance. These factories will return the most appropriate sub-class of <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> for a given locale. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>A non-localized pattern string. </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aeac00ab9c6c9bd9bf08d00db52ec5512"></a> <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> & </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> * </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and symbols. </p> <p>Use this constructor when you need to completely customize the behavior of the format. </p> <p>To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">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" title="Abstract base class for all number formats. ">NumberFormat</a> factory method.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>a non-localized pattern string </td></tr> <tr><td class="paramname">symbolsToAdopt</td><td>the set of symbols to be used. The caller should not delete this object after making this call. </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="af5ef6767e465d243dddea9d8d3bd9a57"></a> <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> & </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> * </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and symbols. </p> <p>Use this constructor when you need to completely customize the behavior of the format. </p> <p>To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">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" title="Abstract base class for all number formats. ">NumberFormat</a> factory method.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>a non-localized pattern string </td></tr> <tr><td class="paramname">symbolsToAdopt</td><td>the set of symbols to be used. The caller should not delete this object after making this call. </td></tr> <tr><td class="paramname">parseError</td><td>Output param to receive errors occured during parsing </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6202bc1606eb3800758ec33fc05b6d2b"></a> <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> & </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Create a <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> from the given pattern and symbols. </p> <p>Use this constructor when you need to completely customize the behavior of the format. </p> <p>To obtain standard formats for a given locale, use the factory methods on <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">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" title="Abstract base class for all number formats. ">NumberFormat</a> factory method.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>a non-localized pattern string </td></tr> <tr><td class="paramname">symbols</td><td>the set of symbols to be used </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002285">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ab9370805544903b8a5040468619a34ed"></a> <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> & </td> <td class="paramname"><em>source</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">source</td><td>the <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> object to be copied from. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a1c39af86d6186c5ffd8ae49d32a87cd6"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual DecimalFormat::~DecimalFormat </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a13825fd336e4de55dfc5cd13616430b2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::adoptDecimalFormatSymbols </td> <td>(</td> <td class="paramtype"><a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> * </td> <td class="paramname"><em>symbolsToAdopt</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">symbolsToAdopt</td><td><a class="el" href="classDecimalFormatSymbols.html" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> to be adopted. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002302">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a3a9842cd391ea434e18889f5b04fb42d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::applyLocalizedPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given pattern to this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. </p> <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> <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 </p> <pre> . Example "#,#00.0#" -> 1,234.56 </pre><p> This means a minimum of 2 integer digits, 1 fraction digit, and a maximum of 2 fraction digits.</p> <p>Example: "#,#00.0#;(#,#00.0#)" for negatives in parantheses.</p> <p>In negative patterns, the minimum and maximum counts are ignored; these are presumed to be set in the positive pattern.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The localized pattern to be applied. </td></tr> <tr><td class="paramname">parseError</td><td>Struct to recieve information on position of error if an error is encountered </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002340">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ad20c4e92d192db4f70bc9631a67a0c1e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::applyLocalizedPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given pattern to this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The localized pattern to be applied. </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002341">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="af2d13a3de17cf4085cc82f74a915af6d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Apply the given pattern to this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object. </p> <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> <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 </p> <pre> . Example "#,#00.0#" -> 1,234.56 </pre><p> This means a minimum of 2 integer digits, 1 fraction digit, and a maximum of 2 fraction digits. </p> <pre> . Example: "#,#00.0#;(#,#00.0#)" for negatives in parantheses. </pre><p> In negative patterns, the minimum and maximum counts are ignored; these are presumed to be set in the positive pattern.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The pattern to be applied. </td></tr> <tr><td class="paramname">parseError</td><td>Struct to recieve information on position of error if an error is encountered </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002338">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a1cc6a469471eeae2356819552281001b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::applyPattern </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the pattern. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">pattern</td><td>The pattern to be applied. </td></tr> <tr><td class="paramname">status</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> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002339">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a8dfe7ad867c1480858a6902314bc96b9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::areSignificantDigitsUsed </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> 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="section return"><dt>Returns</dt><dd>true if significant digits are in use </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002350">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> </div> </div> <a class="anchor" id="ab708755522b88a31695ed54eac6f1bbe"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classFormat.html">Format</a>* DecimalFormat::clone </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Clone this <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> object polymorphically. </p> <p>The caller owns the result and should delete it when done.</p> <dl class="section return"><dt>Returns</dt><dd>a polymorphic copy of this <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a>. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002289">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classFormat.html#a4e7ebd5cfd390c35e2bda88257f8b51a">Format</a>.</p> </div> </div> <a class="anchor" id="aed19f9279def60133b3122a2435ea568"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::format </td> <td>(</td> <td class="paramtype">double </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> & </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> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a double or long number using base-10 representation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002291">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classNumberFormat.html#a7078d52baaa94ddf6e0680a4bc2f542a">NumberFormat</a>.</p> <p>Referenced by <a class="el" href="decimfmt_8h_source.html#l01873">format()</a>.</p> </div> </div> <a class="anchor" id="aa2bab620a29369c545e85d544d73ad05"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::format </td> <td>(</td> <td class="paramtype">int32_t </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> & </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> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a long number using base-10 representation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002292">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classNumberFormat.html#acaaca11795df052b165e82261b7825f1">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a4239fefb073af94327ccdac88bb5bf3e"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::format </td> <td>(</td> <td class="paramtype">int64_t </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> & </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> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> an int64 number using base-10 representation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002293">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#ac64ccd4841f822f601f2533e63e0592b">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a9cd8dc27d2e975c453b12e123225da17"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::format </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> & </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> & </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a <a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> using base-10 representation. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">pos</td><td>On input: an alignment field, if desired. On output: the offsets of the alignment field. </td></tr> <tr><td class="paramname">status</td><td>Error code indicating success or failure. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="aaf9c44cbcc2b7f0279dcc6f121b8bf13"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> & DecimalFormat::format </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFormattable.html">Formattable</a> & </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. </p> <p>Formats an object to produce a string.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>The object to format. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> <tr><td class="paramname">status</td><td>Output parameter filled in with success or failure status. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="decimfmt_8h_source.html#l01864">1864</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> <p>References <a class="el" href="classNumberFormat.html#a53e27d424735198566d90eb30401ec36">NumberFormat::format()</a>.</p> </div> </div> <a class="anchor" id="ac5b6d7339b4ea565dee15147cd29df09"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> & DecimalFormat::format </td> <td>(</td> <td class="paramtype">double </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> & </td> <td class="paramname"><em>appendTo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. </p> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a double number.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002296">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="decimfmt_8h_source.html#l01873">1873</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> <p>References <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568">format()</a>.</p> </div> </div> <a class="anchor" id="a353940a76151b71b954fcfb37a0f9611"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a> & DecimalFormat::format </td> <td>(</td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>appendTo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. </p> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> a long number. These methods call the <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> pure virtual <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> methods with the default <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002297">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="decimfmt_8h_source.html#l01880">1880</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> <p>References <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568">format()</a>.</p> </div> </div> <a class="anchor" id="a7bd1ea414645fcce54268b47d38c84ae"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::format </td> <td>(</td> <td class="paramtype">int64_t </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> & </td> <td class="paramname"><em>appendTo</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Redeclared <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> method. </p> <p><a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> an int64 number. These methods call the <a class="el" href="classNumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> pure virtual <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> methods with the default <a class="el" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>The value to be formatted. </td></tr> <tr><td class="paramname">appendTo</td><td>Output parameter to receive result. Result is appended to existing contents. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Reference to 'appendTo' parameter. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002298">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> </div> </div> <a class="anchor" id="a32cc0bfc2cffa8cb3978a67555fe7253"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <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"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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="section return"><dt>Returns</dt><dd>desired <a class="el" href="classDecimalFormatSymbols.html" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormatSymbols.html" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002301">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a29d58da07dee220c1661ec37397babb2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> DecimalFormat::getDynamicClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a unique class ID POLYMORPHICALLY. </p> <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#a3d3a2d71fcf817ddc1473e9e5c59756c" title="Return true if the given Format objects are semantically equal. ">operator==()</a> and <a class="el" href="classDecimalFormat.html#ab708755522b88a31695ed54eac6f1bbe" title="Clone this Format object polymorphically. ">clone()</a> methods call this method.</p> <dl class="section return"><dt>Returns</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 class="stable"><dt><b><a class="el" href="stable.html#_stable002354">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classNumberFormat.html#a63c193a4db6a1552073bf069d5d31749">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a9ff71ee7d761b1f802aa7e5d899ebe5c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::getEffectiveCurrency </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> * </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>ec</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns the currency in effect for this formatter. </p> <p>Subclasses should override this method as needed. Unlike <a class="el" href="classNumberFormat.html#acc485325edc696f35f73cbdad75eed59" title="Gets the currency used to display currency amounts. ">getCurrency()</a>, this method should never return "". </p> <dl class="section return"><dt>Returns</dt><dd>output parameter for null-terminated result, which must have a capacity of at least 4 </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000191">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#ae79eb815aa14fa432eec4307a3e2bc28">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a96acb157e41ca30d73f7baef3e78e0a1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int32_t DecimalFormat::getFormatWidth </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the width to which the output of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> is padded. </p> <p>The width is counted in 16-bit code units. </p> <dl class="section return"><dt>Returns</dt><dd>the format width, or zero if no padding is in effect </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a16b35a9d59d21f140c31e73dbb08758f" title="Set the width to which the output of format() is padded. ">setFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae5eb36a42f0bc5b38585762fa819792b" title="Get the pad character used to pad to the format width. ">getPadCharacterString</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a23c909183f4e0ed0c938fb67a1f5b5dd" title="Set the character used to pad to the format width. ">setPadCharacter</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a44433620af9101170cdf90f5b56c9581" title="Get the position at which padding will take place. ">getPadPosition</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a466c599088e944d2f9a73d2d251af4f3" title="Set the position at which padding will take place. ">setPadPosition</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002318">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a2609e24ab824305f1ed4c68523aa9820"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t DecimalFormat::getGroupingSize </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the grouping size. </p> <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="section return"><dt>Returns</dt><dd>the grouping size. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#af1111f8ae6bcae827973d5114b5a1dd7" title="Set the grouping size. ">setGroupingSize</a> </dd> <dd> <a class="el" href="classNumberFormat.html#a6fe9bf9d863b9c85ba8f61699e2bbd5b" title="Returns true if grouping is used in this format. ">NumberFormat::isGroupingUsed</a> </dd> <dd> DecimalFormatSymbols::getGroupingSeparator </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002330">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a415f43f510424b6606d8529933e6a284"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t DecimalFormat::getMaximumSignificantDigits </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the maximum number of significant digits that will be displayed. </p> <p>This value has no effect unless <a class="el" href="classDecimalFormat.html#a8dfe7ad867c1480858a6902314bc96b9" title="Returns true if significant digits are in use, or false if integer and fraction digit counts are in u...">areSignificantDigitsUsed()</a> returns true. </p> <dl class="section return"><dt>Returns</dt><dd>the most significant digits that will be shown </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002347">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> </div> </div> <a class="anchor" id="a7f2624eca4e37bfdebcb8b27f016abb0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual int8_t DecimalFormat::getMinimumExponentDigits </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the minimum exponent digits that will be shown. </p> <dl class="section return"><dt>Returns</dt><dd>the minimum exponent digits that will be shown </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a280ddb4755eadd569c668844eea83ec1" title="Set whether or not scientific notation is used. ">setScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae27960a24003cd84116cb94d05efd893" title="Return whether or not scientific notation is used. ">isScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#aa9bbe051c7f9962bb8a4a91cc32bb001" title="Set the minimum exponent digits that will be shown. ">setMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a3f6ed363c1f0a3260153822f159ef136" title="Return whether the exponent sign is always shown. ">isExponentSignAlwaysShown</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c341614d4fcdceb83345a32ab125ec1" title="Set whether the exponent sign is always shown. ">setExponentSignAlwaysShown</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002326">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a0f903265e1115115509d1d45da5c5d15"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t DecimalFormat::getMinimumSignificantDigits </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Returns the minimum number of significant digits that will be displayed. </p> <p>This value has no effect unless <a class="el" href="classDecimalFormat.html#a8dfe7ad867c1480858a6902314bc96b9" title="Returns true if significant digits are in use, or false if integer and fraction digit counts are in u...">areSignificantDigitsUsed()</a> returns true. </p> <dl class="section return"><dt>Returns</dt><dd>the fewest significant digits that will be shown </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002346">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> </div> </div> <a class="anchor" id="aa7ed11a9a3bfecf78bf0323c09a89ce5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t DecimalFormat::getMultiplier </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the multiplier for use in percent, permill, etc. </p> <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="section return"><dt>Returns</dt><dd>the multiplier for use in percent, permill, etc. Examples: with 100, 1.23 -> "123", and "123" -> 1.23 </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002312">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a85918d546a872ca3d33a4f1f15a9e5e0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::getNegativePrefix </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the negative prefix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param which will receive the negative prefix. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. Examples: -123, ($123) (with negative suffix), sFr-123 </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002306">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a74c128baec0b40c6a02d495e9d1b66f6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::getNegativeSuffix </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the negative suffix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param which will receive the negative suffix. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. Examples: -123%, ($123) (with positive suffixes) </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002310">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae5eb36a42f0bc5b38585762fa819792b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <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>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the pad character used to pad to the format width. </p> <p>The default is ' '. </p> <dl class="section return"><dt>Returns</dt><dd>a string containing the pad character. This will always have a length of one 32-bit code point. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a16b35a9d59d21f140c31e73dbb08758f" title="Set the width to which the output of format() is padded. ">setFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a96acb157e41ca30d73f7baef3e78e0a1" title="Get the width to which the output of format() is padded. ">getFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a23c909183f4e0ed0c938fb67a1f5b5dd" title="Set the character used to pad to the format width. ">setPadCharacter</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a44433620af9101170cdf90f5b56c9581" title="Get the position at which padding will take place. ">getPadPosition</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a466c599088e944d2f9a73d2d251af4f3" title="Set the position at which padding will take place. ">setPadPosition</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002320">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a44433620af9101170cdf90f5b56c9581"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> DecimalFormat::getPadPosition </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the position at which padding will take place. </p> <p>This is the location at which padding will be inserted if the result of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> is shorter than the format width. </p> <dl class="section return"><dt>Returns</dt><dd>the pad position, one of kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, or kPadAfterSuffix. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a16b35a9d59d21f140c31e73dbb08758f" title="Set the width to which the output of format() is padded. ">setFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a96acb157e41ca30d73f7baef3e78e0a1" title="Get the width to which the output of format() is padded. ">getFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a23c909183f4e0ed0c938fb67a1f5b5dd" title="Set the character used to pad to the format width. ">setPadCharacter</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae5eb36a42f0bc5b38585762fa819792b" title="Get the pad character used to pad to the format width. ">getPadCharacterString</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a466c599088e944d2f9a73d2d251af4f3" title="Set the position at which padding will take place. ">setPadPosition</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21" title="Pad position. ">EPadPosition</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002322">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a542dc4e58b1d27bf9acc04caf6c392fe"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::getPositivePrefix </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the positive prefix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param which will receive the positive prefix. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. Examples: +123, $123, sFr123 </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002304">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="abc219af67d858829b4f258e42be2b362"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::getPositiveSuffix </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Get the positive suffix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param which will receive the positive suffix. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. Example: 123% </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002308">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a2625aaab4e08c60f390f72ba3ef512a2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual double DecimalFormat::getRoundingIncrement </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the rounding increment. </p> <dl class="section return"><dt>Returns</dt><dd>A positive rounding increment, or 0.0 if rounding is not in effect. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a7d2a985abd8e4ac25c77e94f7f8ae2e7" title="Set the rounding increment. ">setRoundingIncrement</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a9dd8911ea74be813c2446ee7a6657385" title="Get the rounding mode. ">getRoundingMode</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c4239c9afd29b26ab405efda8d7f993" title="Set the rounding mode. ">setRoundingMode</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002314">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a9dd8911ea74be813c2446ee7a6657385"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> DecimalFormat::getRoundingMode </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the rounding mode. </p> <dl class="section return"><dt>Returns</dt><dd>A rounding mode </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a7d2a985abd8e4ac25c77e94f7f8ae2e7" title="Set the rounding increment. ">setRoundingIncrement</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a2625aaab4e08c60f390f72ba3ef512a2" title="Get the rounding increment. ">getRoundingIncrement</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c4239c9afd29b26ab405efda8d7f993" title="Set the rounding mode. ">setRoundingMode</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002316">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aa215994a121009e3619e6e3884ced73b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t DecimalFormat::getSecondaryGroupingSize </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return the secondary grouping size. </p> <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#a2609e24ab824305f1ed4c68523aa9820" title="Return the grouping size. ">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". </p> <dl class="section return"><dt>Returns</dt><dd>the secondary grouping size, or a value less than one if there is none </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a489755a7c9b3a772d950c952c2e513d5" title="Set the secondary grouping size. ">setSecondaryGroupingSize</a> </dd> <dd> <a class="el" href="classNumberFormat.html#a6fe9bf9d863b9c85ba8f61699e2bbd5b" title="Returns true if grouping is used in this format. ">NumberFormat::isGroupingUsed</a> </dd> <dd> DecimalFormatSymbols::getGroupingSeparator </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002332">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="a2c44dda0c6621b3ff10b120fd760ea88"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> DecimalFormat::getStaticClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the class ID for this class. </p> <p>This is useful only for comparing to a return value from <a class="el" href="classDecimalFormat.html#a29d58da07dee220c1661ec37397babb2" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. For example: </p> <pre> . Base* polymorphic_pointer = createPolymorphicObject(); . if (polymorphic_pointer-><a class="el" href="classDecimalFormat.html#a29d58da07dee220c1661ec37397babb2" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> == . Derived::getStaticClassID()) ... </pre> <dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002353">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a856515c53689f8bbedf695b17b3e3769"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::isDecimalSeparatorAlwaysShown </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Allows you to get the behavior of the decimal separator with integers. </p> <p>(The decimal separator will always appear with decimals.)</p> <dl class="section return"><dt>Returns</dt><dd>TRUE if the decimal separator always appear with decimals. Example: Decimal ON: 12345 -> 12345.; OFF: 12345 -> 12345 </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002334">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a3f6ed363c1f0a3260153822f159ef136"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::isExponentSignAlwaysShown </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return whether the exponent sign is always shown. </p> <dl class="section return"><dt>Returns</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="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a280ddb4755eadd569c668844eea83ec1" title="Set whether or not scientific notation is used. ">setScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae27960a24003cd84116cb94d05efd893" title="Return whether or not scientific notation is used. ">isScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#aa9bbe051c7f9962bb8a4a91cc32bb001" title="Set the minimum exponent digits that will be shown. ">setMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a7f2624eca4e37bfdebcb8b27f016abb0" title="Return the minimum exponent digits that will be shown. ">getMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c341614d4fcdceb83345a32ab125ec1" title="Set whether the exponent sign is always shown. ">setExponentSignAlwaysShown</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002328">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae27960a24003cd84116cb94d05efd893"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::isScientificNotation </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return whether or not scientific notation is used. </p> <dl class="section return"><dt>Returns</dt><dd>TRUE if this object formats and parses scientific notation </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a280ddb4755eadd569c668844eea83ec1" title="Set whether or not scientific notation is used. ">setScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a7f2624eca4e37bfdebcb8b27f016abb0" title="Return the minimum exponent digits that will be shown. ">getMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#aa9bbe051c7f9962bb8a4a91cc32bb001" title="Set the minimum exponent digits that will be shown. ">setMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a3f6ed363c1f0a3260153822f159ef136" title="Return whether the exponent sign is always shown. ">isExponentSignAlwaysShown</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c341614d4fcdceb83345a32ab125ec1" title="Set whether the exponent sign is always shown. ">setExponentSignAlwaysShown</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002324">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a80ae4009d0a89aaa339e38328c5f5f31"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classDecimalFormat.html">DecimalFormat</a>& DecimalFormat::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDecimalFormat.html">DecimalFormat</a> & </td> <td class="paramname"><em>rhs</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Assignment operator. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">rhs</td><td>the <a class="el" href="classDecimalFormat.html" title="DecimalFormat is a concrete subclass of NumberFormat that formats decimal numbers. ">DecimalFormat</a> object to be copied. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002287">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a3d3a2d71fcf817ddc1473e9e5c59756c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DecimalFormat::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classFormat.html">Format</a> & </td> <td class="paramname"><em>other</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </p> <p>Objects of different subclasses are considered unequal.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">other</td><td>the object to be compared with. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true if the given <a class="el" href="classFormat.html" title="Base class for all formats. ">Format</a> objects are semantically equal. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002290">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a97f4f81efd4747024deaf88ceb4d80a3">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="afe6f4084b4a6ccff6977501d90011fa4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::parse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> & </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> & </td> <td class="paramname"><em>parsePosition</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse the given string using this object's choices. </p> <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" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The text to be parsed. </td></tr> <tr><td class="paramname">result</td><td><a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> to be set to the parse result. If parse fails, return contents are undefined. </td></tr> <tr><td class="paramname">parsePosition</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> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002299">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classNumberFormat.html#ab2c59c0b036a413b6735c6d50b88ae25">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a9c0309ac314fe3ec8a7cc4b50b99940a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::parse </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> & </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parse the given string using this object's choices. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>The text to be parsed. </td></tr> <tr><td class="paramname">result</td><td><a class="el" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">Formattable</a> to be set to the parse result. </td></tr> <tr><td class="paramname">status</td><td>Output parameter filled in with success or failure status. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002300">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a01ac6e0a7a47b2d8e387752d1a024b29">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="aa83789398c1b9baa69aa31a5391eadf2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classFormattable.html">Formattable</a>& DecimalFormat::parseCurrency </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </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> & </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> & </td> <td class="paramname"><em>pos</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Parses text from the given string as a currency amount. </p> <p>Unlike the <a class="el" href="classDecimalFormat.html#afe6f4084b4a6ccff6977501d90011fa4" title="Parse the given string using this object's choices. ">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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">text</td><td>the string to parse </td></tr> <tr><td class="paramname">result</td><td>output parameter to receive result. This will have its currency set to the parsed ISO currency code. </td></tr> <tr><td class="paramname">pos</td><td>input-output position; on input, the position within text to match; must have 0 <= pos.getIndex() < text.length(); on output, the position after the last matched character. If the parse fails, the position in unchanged upon output. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a reference to result </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000189">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a08bffcf90d1cc63882ab686b6b271f9b">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a4c87fca5e0d14886bdaa4e0969f814e5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setCurrency </td> <td>(</td> <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> * </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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>ec</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the currency used to display currency amounts. </p> <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. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">theCurrency</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 class="paramname">ec</td><td>input-output error code </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002352">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a1dbc762d377858e70de924aacc59d113">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a2ac00a272f0b9f01c4004372c417d347"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setCurrency </td> <td>(</td> <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> * </td> <td class="paramname"><em>theCurrency</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the currency used to display currency amounts. </p> <p>See <a class="el" href="classDecimalFormat.html#a4c87fca5e0d14886bdaa4e0969f814e5" title="Sets the currency used to display currency amounts. ">setCurrency(const UChar*, UErrorCode&)</a>. </p> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000193">Deprecated:</a></b></dt><dd>ICU 3.0. Use <a class="el" href="classDecimalFormat.html#a4c87fca5e0d14886bdaa4e0969f814e5" title="Sets the currency used to display currency amounts. ">setCurrency(const UChar*, UErrorCode&)</a>. </dd></dl> </div> </div> <a class="anchor" id="a973c2dd6666737ba8d91384ea77ff26b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setDecimalFormatSymbols </td> <td>(</td> <td class="paramtype">const <a class="el" href="classDecimalFormatSymbols.html">DecimalFormatSymbols</a> & </td> <td class="paramname"><em>symbols</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">symbols</td><td><a class="el" href="classDecimalFormatSymbols.html" title="This class represents the set of symbols needed by DecimalFormat to format numbers. ">DecimalFormatSymbols</a>. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002303">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a1c767fd7397fd26ca7c0bae7fdcf2343"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setDecimalSeparatorAlwaysShown </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Allows you to set the behavior of the decimal separator with integers. </p> <p>(The decimal separator will always appear with decimals.)</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>set TRUE if the decimal separator will always appear with decimals. Example: Decimal ON: 12345 -> 12345.; OFF: 12345 -> 12345 </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002335">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4c341614d4fcdceb83345a32ab125ec1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setExponentSignAlwaysShown </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>expSignAlways</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set whether the exponent sign is always shown. </p> <p>This has no effect unless scientific notation is in use. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">expSignAlways</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> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a280ddb4755eadd569c668844eea83ec1" title="Set whether or not scientific notation is used. ">setScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae27960a24003cd84116cb94d05efd893" title="Return whether or not scientific notation is used. ">isScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#aa9bbe051c7f9962bb8a4a91cc32bb001" title="Set the minimum exponent digits that will be shown. ">setMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a7f2624eca4e37bfdebcb8b27f016abb0" title="Return the minimum exponent digits that will be shown. ">getMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a3f6ed363c1f0a3260153822f159ef136" title="Return whether the exponent sign is always shown. ">isExponentSignAlwaysShown</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002329">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a16b35a9d59d21f140c31e73dbb08758f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setFormatWidth </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>width</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the width to which the output of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> is padded. </p> <p>The width is counted in 16-bit code units. This method also controls whether padding is enabled. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">width</td><td>the width to which to pad the result of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a>, or zero to disable padding. A negative width is equivalent to 0. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a96acb157e41ca30d73f7baef3e78e0a1" title="Get the width to which the output of format() is padded. ">getFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae5eb36a42f0bc5b38585762fa819792b" title="Get the pad character used to pad to the format width. ">getPadCharacterString</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a23c909183f4e0ed0c938fb67a1f5b5dd" title="Set the character used to pad to the format width. ">setPadCharacter</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a44433620af9101170cdf90f5b56c9581" title="Get the position at which padding will take place. ">getPadPosition</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a466c599088e944d2f9a73d2d251af4f3" title="Set the position at which padding will take place. ">setPadPosition</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002319">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="af1111f8ae6bcae827973d5114b5a1dd7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setGroupingSize </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the grouping size. </p> <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="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the grouping size. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a2609e24ab824305f1ed4c68523aa9820" title="Return the grouping size. ">getGroupingSize</a> </dd> <dd> <a class="el" href="classNumberFormat.html#a42f1ff1c899ec393a87ef24cfdfdd0a1" title="Set whether or not grouping will be used in this format. ">NumberFormat::setGroupingUsed</a> </dd> <dd> DecimalFormatSymbols::setGroupingSeparator </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002331">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a383f882e65849d2cf59550c875f61f1d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMaximumFractionDigits </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the maximum number of digits allowed in the fraction portion of a number. </p> <p>This override limits the fraction digit count to 340.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the maximum number of digits allowed in the fraction portion of a number. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classNumberFormat.html#abb97d22c2d628aab87d695c6f66e8dbb" title="Sets the maximum number of digits allowed in the fraction portion of a number. ">NumberFormat::setMaximumFractionDigits</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002344">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#abb97d22c2d628aab87d695c6f66e8dbb">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="aaf3692b04cf2fafbc536bcdaf9caea25"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMaximumIntegerDigits </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the maximum number of digits allowed in the integer portion of a number. </p> <p>This override limits the integer digit count to 309.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the maximum number of digits allowed in the integer portion of a number. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classNumberFormat.html#a561c13b71c338e6b68729c786d2a3a09" title="Sets the maximum number of digits allowed in the integer portion of a number. ">NumberFormat::setMaximumIntegerDigits</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002342">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a561c13b71c338e6b68729c786d2a3a09">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="a985457f807266318caaa13a20554906b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMaximumSignificantDigits </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>max</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the maximum number of significant digits that will be displayed. </p> <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. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">max</td><td>the most significant digits to be shown </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002349">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> </div> </div> <a class="anchor" id="aa9bbe051c7f9962bb8a4a91cc32bb001"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMinimumExponentDigits </td> <td>(</td> <td class="paramtype">int8_t </td> <td class="paramname"><em>minExpDig</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the minimum exponent digits that will be shown. </p> <p>This has no effect unless scientific notation is in use. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">minExpDig</td><td>a value >= 1 indicating the fewest exponent digits that will be shown. Values less than 1 will be treated as 1. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a280ddb4755eadd569c668844eea83ec1" title="Set whether or not scientific notation is used. ">setScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae27960a24003cd84116cb94d05efd893" title="Return whether or not scientific notation is used. ">isScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a7f2624eca4e37bfdebcb8b27f016abb0" title="Return the minimum exponent digits that will be shown. ">getMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a3f6ed363c1f0a3260153822f159ef136" title="Return whether the exponent sign is always shown. ">isExponentSignAlwaysShown</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c341614d4fcdceb83345a32ab125ec1" title="Set whether the exponent sign is always shown. ">setExponentSignAlwaysShown</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002327">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="acb6abe86ebcfd4bb0b91dec005da9d7b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMinimumFractionDigits </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the minimum number of digits allowed in the fraction portion of a number. </p> <p>This override limits the fraction digit count to 340.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the minimum number of digits allowed in the fraction portion of a number. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classNumberFormat.html#a454c39db13cb0dde930e9249ee726db5" title="Sets the minimum number of digits allowed in the fraction portion of a number. ">NumberFormat::setMinimumFractionDigits</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002345">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a454c39db13cb0dde930e9249ee726db5">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="acda98ebc96abd54c9d796e90231f3bf9"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMinimumIntegerDigits </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Sets the minimum number of digits allowed in the integer portion of a number. </p> <p>This override limits the integer digit count to 309.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the minimum number of digits allowed in the integer portion of a number. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classNumberFormat.html#a92a1454c564b66707d0145a123f65cf3" title="Sets the minimum number of digits allowed in the integer portion of a number. ">NumberFormat::setMinimumIntegerDigits</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002343">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classNumberFormat.html#a92a1454c564b66707d0145a123f65cf3">NumberFormat</a>.</p> </div> </div> <a class="anchor" id="af970944ad7d9d249aeb488bd4872fe2a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMinimumSignificantDigits </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>min</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the minimum number of significant digits that will be displayed. </p> <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. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">min</td><td>the fewest significant digits to be shown </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002348">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> </div> </div> <a class="anchor" id="aeaa002ef2300082f24802df929162f83"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setMultiplier </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the multiplier for use in percent, permill, etc. </p> <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="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the multiplier for use in percent, permill, etc. Examples: with 100, 1.23 -> "123", and "123" -> 1.23 </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002313">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a923f9be542ebdbdf07f26dd849a6047b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setNegativePrefix </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the negative prefix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the the negative prefix to be set. Examples: -123, ($123) (with negative suffix), sFr-123 </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002307">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aee6c5f9d27a8df1d33bc65d9a5b546bf"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setNegativeSuffix </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the negative suffix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the negative suffix to be set. Examples: 123% </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002311">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a23c909183f4e0ed0c938fb67a1f5b5dd"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setPadCharacter </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>padChar</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the character used to pad to the format width. </p> <p>If padding is not enabled, then this will take effect if padding is later enabled. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">padChar</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> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a16b35a9d59d21f140c31e73dbb08758f" title="Set the width to which the output of format() is padded. ">setFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a96acb157e41ca30d73f7baef3e78e0a1" title="Get the width to which the output of format() is padded. ">getFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae5eb36a42f0bc5b38585762fa819792b" title="Get the pad character used to pad to the format width. ">getPadCharacterString</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a44433620af9101170cdf90f5b56c9581" title="Get the position at which padding will take place. ">getPadPosition</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a466c599088e944d2f9a73d2d251af4f3" title="Set the position at which padding will take place. ">setPadPosition</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002321">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a466c599088e944d2f9a73d2d251af4f3"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setPadPosition </td> <td>(</td> <td class="paramtype"><a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21">EPadPosition</a> </td> <td class="paramname"><em>padPos</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the position at which padding will take place. </p> <p>This is the location at which padding will be inserted if the result of <a class="el" href="classDecimalFormat.html#aed19f9279def60133b3122a2435ea568" title="Format a double or long number using base-10 representation. ">format()</a> is shorter than the format width. This has no effect unless padding is enabled. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">padPos</td><td>the pad position, one of kPadBeforePrefix, kPadAfterPrefix, kPadBeforeSuffix, or kPadAfterSuffix. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a16b35a9d59d21f140c31e73dbb08758f" title="Set the width to which the output of format() is padded. ">setFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a96acb157e41ca30d73f7baef3e78e0a1" title="Get the width to which the output of format() is padded. ">getFormatWidth</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a23c909183f4e0ed0c938fb67a1f5b5dd" title="Set the character used to pad to the format width. ">setPadCharacter</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ae5eb36a42f0bc5b38585762fa819792b" title="Get the pad character used to pad to the format width. ">getPadCharacterString</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a44433620af9101170cdf90f5b56c9581" title="Get the position at which padding will take place. ">getPadPosition</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#ad9cabc444ffb51c72c4c11be6d004e21" title="Pad position. ">EPadPosition</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002323">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a955034e72cf166f9b9c933b2e7d0c0ce"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setPositivePrefix </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the positive prefix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the the positive prefix to be set. Examples: +123, $123, sFr123 </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002305">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="acc7ebd164e98f56a044861a77eb5b7b0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setPositiveSuffix </td> <td>(</td> <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the positive suffix. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the positive suffix to be set. Example: 123% </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002309">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a7d2a985abd8e4ac25c77e94f7f8ae2e7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setRoundingIncrement </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the rounding increment. </p> <p>This method also controls whether rounding is enabled. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>A positive rounding increment, or 0.0 to disable rounding. Negative increments are equivalent to 0.0. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a2625aaab4e08c60f390f72ba3ef512a2" title="Get the rounding increment. ">getRoundingIncrement</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a9dd8911ea74be813c2446ee7a6657385" title="Get the rounding mode. ">getRoundingMode</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c4239c9afd29b26ab405efda8d7f993" title="Set the rounding mode. ">setRoundingMode</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002315">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4c4239c9afd29b26ab405efda8d7f993"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setRoundingMode </td> <td>(</td> <td class="paramtype"><a class="el" href="classDecimalFormat.html#a00f3e49ce35985df764feb658371b7e7">ERoundingMode</a> </td> <td class="paramname"><em>roundingMode</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the rounding mode. </p> <p>This has no effect unless the rounding increment is greater than zero. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">roundingMode</td><td>A rounding mode </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#a7d2a985abd8e4ac25c77e94f7f8ae2e7" title="Set the rounding increment. ">setRoundingIncrement</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a2625aaab4e08c60f390f72ba3ef512a2" title="Get the rounding increment. ">getRoundingIncrement</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a9dd8911ea74be813c2446ee7a6657385" title="Get the rounding mode. ">getRoundingMode</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002317">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a280ddb4755eadd569c668844eea83ec1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setScientificNotation </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>useScientific</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set whether or not scientific notation is used. </p> <p>When scientific notation is used, the effective maximum number of integer digits is <= 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. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">useScientific</td><td>TRUE if this object formats and parses scientific notation </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#ae27960a24003cd84116cb94d05efd893" title="Return whether or not scientific notation is used. ">isScientificNotation</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a7f2624eca4e37bfdebcb8b27f016abb0" title="Return the minimum exponent digits that will be shown. ">getMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#aa9bbe051c7f9962bb8a4a91cc32bb001" title="Set the minimum exponent digits that will be shown. ">setMinimumExponentDigits</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a3f6ed363c1f0a3260153822f159ef136" title="Return whether the exponent sign is always shown. ">isExponentSignAlwaysShown</a> </dd> <dd> <a class="el" href="classDecimalFormat.html#a4c341614d4fcdceb83345a32ab125ec1" title="Set whether the exponent sign is always shown. ">setExponentSignAlwaysShown</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002325">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a489755a7c9b3a772d950c952c2e513d5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setSecondaryGroupingSize </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>newValue</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Set the secondary grouping size. </p> <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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newValue</td><td>the new value of the secondary grouping size. </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#aa215994a121009e3619e6e3884ced73b" title="Return the secondary grouping size. ">getSecondaryGroupingSize</a> </dd> <dd> <a class="el" href="classNumberFormat.html#a42f1ff1c899ec393a87ef24cfdfdd0a1" title="Set whether or not grouping will be used in this format. ">NumberFormat::setGroupingUsed</a> </dd> <dd> DecimalFormatSymbols::setGroupingSeparator </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002333">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> </div> </div> <a class="anchor" id="aea4a7be245a5094ad7225a443ee39409"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> DecimalFormat::setSignificantDigitsUsed </td> <td>(</td> <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td> <td class="paramname"><em>useSignificantDigits</em></td><td>)</td> <td></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 class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">useSignificantDigits</td><td>true to use significant digits, or false to use integer and fraction digit counts </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002351">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> </div> </div> <a class="anchor" id="a1eaa21381319486ce285ab680a14c918"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::toLocalizedPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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" title="Base class for all formats. ">Format</a> object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param which will receive the localized pattern. Previous contents are deleted. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#af2d13a3de17cf4085cc82f74a915af6d" title="Apply the given pattern to this Format object. ">applyPattern</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002337">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ab5d50567589c29105075cecfea1c98dc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classUnicodeString.html">UnicodeString</a>& DecimalFormat::toPattern </td> <td>(</td> <td class="paramtype"><a class="el" href="classUnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>result</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </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" title="Base class for all formats. ">Format</a> object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">result</td><td>Output param which will receive the pattern. Previous contents are deleted. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to 'result'. </dd></dl> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classDecimalFormat.html#af2d13a3de17cf4085cc82f74a915af6d" title="Apply the given pattern to this Format object. ">applyPattern</a> </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002336">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Field Documentation</h2> <a class="anchor" id="af41fc1a3bde85bec4649668300f60148"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const char DecimalFormat::fgNumberPatterns[]</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>The resource tags we use to retrieve decimal format data from locale resource bundles. </p> <dl class="deprecated"><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#l01617">1617</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> </div> </div> <a class="anchor" id="ab499b677e78e3320d6704b21f8a3ad23"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const int32_t DecimalFormat::kDoubleFractionDigits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>number of fraction digits </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002356">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="decimfmt_8h_source.html#l01848">1848</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> </div> </div> <a class="anchor" id="a8d5140e73b831fedb039ccf3c303c156"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const int32_t DecimalFormat::kDoubleIntegerDigits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>number of integer digits </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002355">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Definition at line <a class="el" href="decimfmt_8h_source.html#l01844">1844</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> </div> </div> <a class="anchor" id="aefc212fd0526b37ca733b1827d28f440"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const int32_t DecimalFormat::kMaxScientificIntegerDigits</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </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> <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. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002357">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl> <p>Definition at line <a class="el" href="decimfmt_8h_source.html#l01860">1860</a> of file <a class="el" href="decimfmt_8h_source.html">decimfmt.h</a>.</p> </div> </div> <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></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>