<!-- This comment will put IE 6, 7 and 8 in quirks mode --> <!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"/> <title>ICU 4.4.1: unum.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javaScript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body onload='searchBox.OnSelectItem(0);'> <!-- Generated by Doxygen 1.6.2-20100208 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div class="navigation" id="top"> <div class="tabs"> <ul> <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><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <img id="MSearchSelect" src="search/search.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)"/> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </div> </li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>unum.h</h1><a href="unum_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">*******************************************************************************</span> <a name="l00003"></a>00003 <span class="comment">* Copyright (C) 1997-2010, International Business Machines Corporation and others.</span> <a name="l00004"></a>00004 <span class="comment">* All Rights Reserved.</span> <a name="l00005"></a>00005 <span class="comment">* Modification History:</span> <a name="l00006"></a>00006 <span class="comment">*</span> <a name="l00007"></a>00007 <span class="comment">* Date Name Description</span> <a name="l00008"></a>00008 <span class="comment">* 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes</span> <a name="l00009"></a>00009 <span class="comment">*******************************************************************************</span> <a name="l00010"></a>00010 <span class="comment">*/</span> <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="preprocessor">#ifndef _UNUM</span> <a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define _UNUM</span> <a name="l00014"></a>00014 <span class="preprocessor"></span> <a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span> <a name="l00016"></a>00016 <a name="l00017"></a>00017 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span> <a name="l00018"></a>00018 <span class="preprocessor"></span> <a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html" title="C++ API: &quot;Smart pointers&quot; for use with and in ICU4C C++ code.">unicode/localpointer.h</a>"</span> <a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="uloc_8h.html" title="C API: Locale.">unicode/uloc.h</a>"</span> <a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="umisc_8h.html" title="C API:misc definitions.">unicode/umisc.h</a>"</span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span> <a name="l00130"></a><a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b">00130</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>; <a name="l00131"></a>00131 <a name="l00135"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266d">00135</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266d" title="The possible number format styles.">UNumberFormatStyle</a> { <a name="l00140"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae207361093035f3cba68e1079222765f">00140</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae207361093035f3cba68e1079222765f" title="Decimal format defined by pattern.">UNUM_PATTERN_DECIMAL</a>=0, <a name="l00142"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dafee95b0f3bd1d25e469d6d73a80ca851">00142</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dafee95b0f3bd1d25e469d6d73a80ca851" title="Decimal format.">UNUM_DECIMAL</a>=1, <a name="l00144"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da21b6ea8b4d9a0470ef541984625b60fa">00144</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da21b6ea8b4d9a0470ef541984625b60fa" title="Currency format.">UNUM_CURRENCY</a>, <a name="l00146"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da9bf1ec360f981705cd4bbd51cb87aebb">00146</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da9bf1ec360f981705cd4bbd51cb87aebb" title="Percent format.">UNUM_PERCENT</a>, <a name="l00148"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da3716da021dd7e974d2e068972f43d824">00148</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da3716da021dd7e974d2e068972f43d824" title="Scientific format.">UNUM_SCIENTIFIC</a>, <a name="l00150"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da5ae07c512dff6f042638269a892f583d">00150</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da5ae07c512dff6f042638269a892f583d" title="Spellout rule-based format.">UNUM_SPELLOUT</a>, <a name="l00155"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266daa2ad067d1cadf2e2f2e988e2d838200b">00155</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266daa2ad067d1cadf2e2f2e988e2d838200b" title="Ordinal rule-based format.">UNUM_ORDINAL</a>, <a name="l00160"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae79d8fb72705872b6c3c4abb6c17b9a6">00160</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae79d8fb72705872b6c3c4abb6c17b9a6" title="Duration rule-based format.">UNUM_DURATION</a>, <a name="l00165"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dab1c8018237a430c9b88289b18eac6b8e">00165</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dab1c8018237a430c9b88289b18eac6b8e" title="Numbering system rule-based format.">UNUM_NUMBERING_SYSTEM</a>, <a name="l00170"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da5960471d91b7598451d928cd8547a66f">00170</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266da5960471d91b7598451d928cd8547a66f" title="Rule-based format defined by pattern.">UNUM_PATTERN_RULEBASED</a>, <a name="l00172"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dad0a115c07b8b2e3bbf296e8aaa51bbeb">00172</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dad0a115c07b8b2e3bbf296e8aaa51bbeb" title="Default format.">UNUM_DEFAULT</a> = <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dafee95b0f3bd1d25e469d6d73a80ca851" title="Decimal format.">UNUM_DECIMAL</a>, <a name="l00174"></a><a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266daf1a3f506a159392eb58a5b3b020958f5">00174</a> <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266daf1a3f506a159392eb58a5b3b020958f5" title="(Alias for UNUM_PATTERN_DECIMAL)">UNUM_IGNORE</a> = <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266dae207361093035f3cba68e1079222765f" title="Decimal format defined by pattern.">UNUM_PATTERN_DECIMAL</a> <a name="l00175"></a>00175 } <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266d" title="The possible number format styles.">UNumberFormatStyle</a>; <a name="l00176"></a>00176 <a name="l00180"></a><a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230a">00180</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230a" title="The possible number format rounding modes.">UNumberFormatRoundingMode</a> { <a name="l00181"></a>00181 UNUM_ROUND_CEILING, <a name="l00182"></a>00182 UNUM_ROUND_FLOOR, <a name="l00183"></a>00183 UNUM_ROUND_DOWN, <a name="l00184"></a>00184 UNUM_ROUND_UP, <a name="l00189"></a><a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230aaaf65c3f66231f695a558eb526c1215f6">00189</a> <a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230aaaf65c3f66231f695a558eb526c1215f6" title="Half-even rounding, misspelled name.">UNUM_FOUND_HALFEVEN</a>, <a name="l00190"></a>00190 UNUM_ROUND_HALFDOWN, <a name="l00191"></a>00191 UNUM_ROUND_HALFUP, <a name="l00196"></a><a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230aa1fd90821fab4b77604c05712ab1b5678">00196</a> <a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230aa1fd90821fab4b77604c05712ab1b5678" title="Half-even rounding.">UNUM_ROUND_HALFEVEN</a> = <a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230aaaf65c3f66231f695a558eb526c1215f6" title="Half-even rounding, misspelled name.">UNUM_FOUND_HALFEVEN</a> <a name="l00197"></a>00197 } <a class="code" href="unum_8h.html#a2f46653ee48f5d8d5b8e67d4a1b8230a" title="The possible number format rounding modes.">UNumberFormatRoundingMode</a>; <a name="l00198"></a>00198 <a name="l00202"></a><a class="code" href="unum_8h.html#ac87c18f94d2d615aa25cd5581ff908f5">00202</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="unum_8h.html#ac87c18f94d2d615aa25cd5581ff908f5" title="The possible number format pad positions.">UNumberFormatPadPosition</a> { <a name="l00203"></a>00203 UNUM_PAD_BEFORE_PREFIX, <a name="l00204"></a>00204 UNUM_PAD_AFTER_PREFIX, <a name="l00205"></a>00205 UNUM_PAD_BEFORE_SUFFIX, <a name="l00206"></a>00206 UNUM_PAD_AFTER_SUFFIX <a name="l00207"></a>00207 } <a class="code" href="unum_8h.html#ac87c18f94d2d615aa25cd5581ff908f5" title="The possible number format pad positions.">UNumberFormatPadPosition</a>; <a name="l00208"></a>00208 <a name="l00240"></a>00240 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00241"></a>00241 <a class="code" href="unum_8h.html#a581f9eb53d6b1b052b751272e1c6b67f" title="Create and return a new UNumberFormat for formatting and parsing numbers.">unum_open</a>( <a class="code" href="unum_8h.html#a4eb4d3ff13bd506e7078b2be4052266d" title="The possible number format styles.">UNumberFormatStyle</a> style, <a name="l00242"></a>00242 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* pattern, <a name="l00243"></a>00243 int32_t patternLength, <a name="l00244"></a>00244 <span class="keyword">const</span> <span class="keywordtype">char</span>* locale, <a name="l00245"></a>00245 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a>* parseErr, <a name="l00246"></a>00246 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00247"></a>00247 <a name="l00248"></a>00248 <a name="l00255"></a>00255 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00256"></a>00256 <a class="code" href="unum_8h.html#a5716f7198d8adcd215e6c192abedde88" title="Close a UNumberFormat.">unum_close</a>(<a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt); <a name="l00257"></a>00257 <a name="l00258"></a>00258 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span> <a name="l00259"></a>00259 <span class="preprocessor"></span> <a name="l00260"></a>00260 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a> <a name="l00261"></a>00261 <a name="l00271"></a>00271 U_DEFINE_LOCAL_OPEN_POINTER(LocalUNumberFormatPointer, <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>, <a class="code" href="unum_8h.html#a5716f7198d8adcd215e6c192abedde88" title="Close a UNumberFormat.">unum_close</a>); <a name="l00272"></a>00272 <a name="l00273"></a>00273 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a> <a name="l00274"></a>00274 <a name="l00275"></a>00275 <span class="preprocessor">#endif</span> <a name="l00276"></a>00276 <span class="preprocessor"></span> <a name="l00285"></a>00285 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00286"></a>00286 <a class="code" href="unum_8h.html#aca465856f5b931500a72c74605b40ad9" title="Open a copy of a UNumberFormat.">unum_clone</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a> *fmt, <a name="l00287"></a>00287 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00288"></a>00288 <a name="l00310"></a>00310 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00311"></a>00311 <a class="code" href="unum_8h.html#a5eea15992427d5c86319d23d630795b8" title="Format an integer using a UNumberFormat.">unum_format</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00312"></a>00312 int32_t number, <a name="l00313"></a>00313 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00314"></a>00314 int32_t resultLength, <a name="l00315"></a>00315 <a class="code" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> *pos, <a name="l00316"></a>00316 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00317"></a>00317 <a name="l00339"></a>00339 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00340"></a>00340 <a class="code" href="unum_8h.html#a76d510c2e2ecbf3a89712f1dc6c6c7da" title="Format an int64 using a UNumberFormat.">unum_formatInt64</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a> *fmt, <a name="l00341"></a>00341 int64_t number, <a name="l00342"></a>00342 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00343"></a>00343 int32_t resultLength, <a name="l00344"></a>00344 <a class="code" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> *pos, <a name="l00345"></a>00345 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00346"></a>00346 <a name="l00368"></a>00368 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00369"></a>00369 <a class="code" href="unum_8h.html#a8cbd385fd0b01975ad6a0742c6e5c512" title="Format a double using a UNumberFormat.">unum_formatDouble</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00370"></a>00370 <span class="keywordtype">double</span> number, <a name="l00371"></a>00371 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00372"></a>00372 int32_t resultLength, <a name="l00373"></a>00373 <a class="code" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> *pos, <span class="comment">/* 0 if ignore */</span> <a name="l00374"></a>00374 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00375"></a>00375 <a name="l00401"></a>00401 <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00402"></a>00402 <a class="code" href="unum_8h.html#a59870a322f012dc1b9d99cf8a7b708f1" title="Format a decimal number using a UNumberFormat.">unum_formatDecimal</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00403"></a>00403 <span class="keyword">const</span> <span class="keywordtype">char</span> * number, <a name="l00404"></a>00404 int32_t length, <a name="l00405"></a>00405 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00406"></a>00406 int32_t resultLength, <a name="l00407"></a>00407 <a class="code" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> *pos, <span class="comment">/* 0 if ignore */</span> <a name="l00408"></a>00408 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00409"></a>00409 <a name="l00431"></a>00431 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00432"></a>00432 <a class="code" href="unum_8h.html#a35ff307fccbabfb16db8217d132ceae6" title="Format a double currency amount using a UNumberFormat.">unum_formatDoubleCurrency</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00433"></a>00433 <span class="keywordtype">double</span> number, <a name="l00434"></a>00434 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* currency, <a name="l00435"></a>00435 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00436"></a>00436 int32_t resultLength, <a name="l00437"></a>00437 <a class="code" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a>* pos, <span class="comment">/* ignored if 0 */</span> <a name="l00438"></a>00438 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00439"></a>00439 <a name="l00457"></a>00457 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00458"></a>00458 <a class="code" href="unum_8h.html#ac658b91fe7e7b8c8e0657008d77db90d" title="Parse a string into an integer using a UNumberFormat.">unum_parse</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00459"></a>00459 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* text, <a name="l00460"></a>00460 int32_t textLength, <a name="l00461"></a>00461 int32_t *parsePos <span class="comment">/* 0 = start */</span>, <a name="l00462"></a>00462 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00463"></a>00463 <a name="l00481"></a>00481 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int64_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00482"></a>00482 <a class="code" href="unum_8h.html#a952c32d0ed2ddd5ec6630f2b8d776f1a" title="Parse a string into an int64 using a UNumberFormat.">unum_parseInt64</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00483"></a>00483 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* text, <a name="l00484"></a>00484 int32_t textLength, <a name="l00485"></a>00485 int32_t *parsePos <span class="comment">/* 0 = start */</span>, <a name="l00486"></a>00486 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00487"></a>00487 <a name="l00505"></a>00505 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">double</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00506"></a>00506 <a class="code" href="unum_8h.html#a849e6ac2def7f3cf5327f8881efc026a" title="Parse a string into a double using a UNumberFormat.">unum_parseDouble</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00507"></a>00507 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* text, <a name="l00508"></a>00508 int32_t textLength, <a name="l00509"></a>00509 int32_t *parsePos <span class="comment">/* 0 = start */</span>, <a name="l00510"></a>00510 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00511"></a>00511 <a name="l00512"></a>00512 <a name="l00538"></a>00538 <a class="code" href="umachine_8h.html#a41691e68155dca13bc1f020fa30dac82" title="This is used to declare a function as a draft public ICU C API.">U_DRAFT</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00539"></a>00539 <a class="code" href="unum_8h.html#af80334a90b37b2d5c41bd9db00c98687" title="Parse a number from a string into an unformatted numeric string using a UNumberFormat...">unum_parseDecimal</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00540"></a>00540 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* text, <a name="l00541"></a>00541 int32_t textLength, <a name="l00542"></a>00542 int32_t *parsePos <span class="comment">/* 0 = start */</span>, <a name="l00543"></a>00543 <span class="keywordtype">char</span> *outBuf, <a name="l00544"></a>00544 int32_t outBufLength, <a name="l00545"></a>00545 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00546"></a>00546 <a name="l00566"></a>00566 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">double</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00567"></a>00567 <a class="code" href="unum_8h.html#a9d9e2682060ce25075229769c16b9707" title="Parse a string into a double and a currency using a UNumberFormat.">unum_parseDoubleCurrency</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00568"></a>00568 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* text, <a name="l00569"></a>00569 int32_t textLength, <a name="l00570"></a>00570 int32_t* parsePos, <span class="comment">/* 0 = start */</span> <a name="l00571"></a>00571 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* currency, <a name="l00572"></a>00572 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00573"></a>00573 <a name="l00590"></a>00590 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00591"></a>00591 <a class="code" href="unum_8h.html#acac55fa6f213cb43d128f8160a0ec5a9" title="Set the pattern used by a UNumberFormat.">unum_applyPattern</a>( <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a> *format, <a name="l00592"></a>00592 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> localized, <a name="l00593"></a>00593 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *pattern, <a name="l00594"></a>00594 int32_t patternLength, <a name="l00595"></a>00595 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a> *parseError, <a name="l00596"></a>00596 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status <a name="l00597"></a>00597 ); <a name="l00598"></a>00598 <a name="l00609"></a>00609 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00610"></a>00610 <a class="code" href="unum_8h.html#acaa46128fd87e7166b3578eab2c2ad24" title="Get a locale for which decimal formatting patterns are available.">unum_getAvailable</a>(int32_t localeIndex); <a name="l00611"></a>00611 <a name="l00621"></a>00621 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00622"></a>00622 <a class="code" href="unum_8h.html#a56bd0a70446ff1feb5abdc5bc829a8fa" title="Determine how many locales have decimal formatting patterns available.">unum_countAvailable</a>(<span class="keywordtype">void</span>); <a name="l00623"></a>00623 <a name="l00625"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f">00625</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f" title="The possible UNumberFormat numeric attributes.">UNumberFormatAttribute</a> { <a name="l00627"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa565bb2f66b2822d68a2c6e3f95be71a9">00627</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa565bb2f66b2822d68a2c6e3f95be71a9" title="Parse integers only.">UNUM_PARSE_INT_ONLY</a>, <a name="l00629"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fafac691b1c59d94b50213c2eab8d83a74">00629</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fafac691b1c59d94b50213c2eab8d83a74" title="Use grouping separator.">UNUM_GROUPING_USED</a>, <a name="l00631"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa8d460efb91f4335ef7fbd069f7e12de1">00631</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa8d460efb91f4335ef7fbd069f7e12de1" title="Always show decimal point.">UNUM_DECIMAL_ALWAYS_SHOWN</a>, <a name="l00633"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa1c61e19057c4c1036a9f1afd98259d57">00633</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa1c61e19057c4c1036a9f1afd98259d57" title="Maximum integer digits.">UNUM_MAX_INTEGER_DIGITS</a>, <a name="l00635"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097faf6e1244643dfd78c1e3070a990e81751">00635</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097faf6e1244643dfd78c1e3070a990e81751" title="Minimum integer digits.">UNUM_MIN_INTEGER_DIGITS</a>, <a name="l00637"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097faa21a02dd6022115b4332b30b1cbc5dc3">00637</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097faa21a02dd6022115b4332b30b1cbc5dc3" title="Integer digits.">UNUM_INTEGER_DIGITS</a>, <a name="l00639"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa3156d12afe1b2ba2e02e099b9fab9d9c">00639</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa3156d12afe1b2ba2e02e099b9fab9d9c" title="Maximum fraction digits.">UNUM_MAX_FRACTION_DIGITS</a>, <a name="l00641"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa7bda470ac16100aad29970123e659b7f">00641</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa7bda470ac16100aad29970123e659b7f" title="Minimum fraction digits.">UNUM_MIN_FRACTION_DIGITS</a>, <a name="l00643"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097faa492173115371885d8dd4312c1df263f">00643</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097faa492173115371885d8dd4312c1df263f" title="Fraction digits.">UNUM_FRACTION_DIGITS</a>, <a name="l00645"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa5c1e5f8080fa49bb89fabec8a36e13e5">00645</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa5c1e5f8080fa49bb89fabec8a36e13e5" title="Multiplier.">UNUM_MULTIPLIER</a>, <a name="l00647"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa06902c7d131bd688728ad866ff488474">00647</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa06902c7d131bd688728ad866ff488474" title="Grouping size.">UNUM_GROUPING_SIZE</a>, <a name="l00649"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097face1e88f1b24547d7a1bf605f781b1c6e">00649</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097face1e88f1b24547d7a1bf605f781b1c6e" title="Rounding Mode.">UNUM_ROUNDING_MODE</a>, <a name="l00651"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa5fb16427f42e8b0c149bb89c8e108f02">00651</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa5fb16427f42e8b0c149bb89c8e108f02" title="Rounding increment.">UNUM_ROUNDING_INCREMENT</a>, <a name="l00653"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa470111abd0962f29b64aac8aa95445ad">00653</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa470111abd0962f29b64aac8aa95445ad" title="The width to which the output of format() is padded.">UNUM_FORMAT_WIDTH</a>, <a name="l00655"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fae9bf50a6f9564be1cc74e2fb2a564528">00655</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fae9bf50a6f9564be1cc74e2fb2a564528" title="The position at which padding will take place.">UNUM_PADDING_POSITION</a>, <a name="l00657"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa6cdd4f290558adf6093d9a5a036991e2">00657</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa6cdd4f290558adf6093d9a5a036991e2" title="Secondary grouping size.">UNUM_SECONDARY_GROUPING_SIZE</a>, <a name="l00660"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa606b791bda88aa23e7cb387357163f8b">00660</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa606b791bda88aa23e7cb387357163f8b" title="Use significant digits.">UNUM_SIGNIFICANT_DIGITS_USED</a>, <a name="l00663"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa1a08d64684b9d2cddcc78e974b24aec1">00663</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa1a08d64684b9d2cddcc78e974b24aec1" title="Minimum significant digits.">UNUM_MIN_SIGNIFICANT_DIGITS</a>, <a name="l00666"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa956d998c675d90d50b620d08cb4fa399">00666</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa956d998c675d90d50b620d08cb4fa399" title="Maximum significant digits.">UNUM_MAX_SIGNIFICANT_DIGITS</a>, <a name="l00670"></a><a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa0c9d63e76d7e4974e6a828a5ad9971f5">00670</a> <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097fa0c9d63e76d7e4974e6a828a5ad9971f5" title="Lenient parse mode used by rule-based formats.">UNUM_LENIENT_PARSE</a> <a name="l00671"></a>00671 } <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f" title="The possible UNumberFormat numeric attributes.">UNumberFormatAttribute</a>; <a name="l00672"></a>00672 <a name="l00689"></a>00689 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00690"></a>00690 <a class="code" href="unum_8h.html#aba3ed4eb79cf3401699bbddb3b80a9b3" title="Get a numeric attribute associated with a UNumberFormat.">unum_getAttribute</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00691"></a>00691 <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f" title="The possible UNumberFormat numeric attributes.">UNumberFormatAttribute</a> attr); <a name="l00692"></a>00692 <a name="l00712"></a>00712 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00713"></a>00713 <a class="code" href="unum_8h.html#aa9dc9217d30084eb4577e749083bdc73" title="Set a numeric attribute associated with a UNumberFormat.">unum_setAttribute</a>( <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00714"></a>00714 <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f" title="The possible UNumberFormat numeric attributes.">UNumberFormatAttribute</a> attr, <a name="l00715"></a>00715 int32_t newValue); <a name="l00716"></a>00716 <a name="l00717"></a>00717 <a name="l00732"></a>00732 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">double</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00733"></a>00733 <a class="code" href="unum_8h.html#a3d3af71571dcc86ad02a63f98c9ef3c1" title="Get a numeric attribute associated with a UNumberFormat.">unum_getDoubleAttribute</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00734"></a>00734 <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f" title="The possible UNumberFormat numeric attributes.">UNumberFormatAttribute</a> attr); <a name="l00735"></a>00735 <a name="l00750"></a>00750 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00751"></a>00751 <a class="code" href="unum_8h.html#a9ba89315a6f88655edec37c39af99e67" title="Set a numeric attribute associated with a UNumberFormat.">unum_setDoubleAttribute</a>( <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00752"></a>00752 <a class="code" href="unum_8h.html#a22c3085f2e722f578a92c15a3346097f" title="The possible UNumberFormat numeric attributes.">UNumberFormatAttribute</a> attr, <a name="l00753"></a>00753 <span class="keywordtype">double</span> newValue); <a name="l00754"></a>00754 <a name="l00756"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725">00756</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725" title="The possible UNumberFormat text attributes.">UNumberFormatTextAttribute</a> { <a name="l00758"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a264cca6cf70106e73840f1a47028df86">00758</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a264cca6cf70106e73840f1a47028df86" title="Positive prefix.">UNUM_POSITIVE_PREFIX</a>, <a name="l00760"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725ad86d57c03a0508d47288c704197ac653">00760</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725ad86d57c03a0508d47288c704197ac653" title="Positive suffix.">UNUM_POSITIVE_SUFFIX</a>, <a name="l00762"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a1df970289d1891901b39a86395bc5d51">00762</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a1df970289d1891901b39a86395bc5d51" title="Negative prefix.">UNUM_NEGATIVE_PREFIX</a>, <a name="l00764"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725aa31b0783a7bc179dfa5a635bdc542800">00764</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725aa31b0783a7bc179dfa5a635bdc542800" title="Negative suffix.">UNUM_NEGATIVE_SUFFIX</a>, <a name="l00766"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a86e498a9c561dfc76671ec96a427143d">00766</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a86e498a9c561dfc76671ec96a427143d" title="The character used to pad to the format width.">UNUM_PADDING_CHARACTER</a>, <a name="l00768"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725aa2b28acf90cdc267f71fb3824b271f33">00768</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725aa2b28acf90cdc267f71fb3824b271f33" title="The ISO currency code.">UNUM_CURRENCY_CODE</a>, <a name="l00773"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a54d13def32cdd86ad8f9dfe147b0494a">00773</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a54d13def32cdd86ad8f9dfe147b0494a" title="The default rule set.">UNUM_DEFAULT_RULESET</a>, <a name="l00780"></a><a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a5f86be5aea4daa4ba8a6bdd9bfae0d9b">00780</a> <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725a5f86be5aea4daa4ba8a6bdd9bfae0d9b" title="The public rule sets.">UNUM_PUBLIC_RULESETS</a> <a name="l00781"></a>00781 } <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725" title="The possible UNumberFormat text attributes.">UNumberFormatTextAttribute</a>; <a name="l00782"></a>00782 <a name="l00801"></a>00801 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00802"></a>00802 <a class="code" href="unum_8h.html#a497b8a591fbac7c2d2e604f06a403be1" title="Get a text attribute associated with a UNumberFormat.">unum_getTextAttribute</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00803"></a>00803 <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725" title="The possible UNumberFormat text attributes.">UNumberFormatTextAttribute</a> tag, <a name="l00804"></a>00804 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00805"></a>00805 int32_t resultLength, <a name="l00806"></a>00806 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00807"></a>00807 <a name="l00824"></a>00824 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00825"></a>00825 <a class="code" href="unum_8h.html#a5c6e5a56428cd6e15beb0c972698f414" title="Set a text attribute associated with a UNumberFormat.">unum_setTextAttribute</a>( <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00826"></a>00826 <a class="code" href="unum_8h.html#a9d3fc41af40c7a4437230943eb265725" title="The possible UNumberFormat text attributes.">UNumberFormatTextAttribute</a> tag, <a name="l00827"></a>00827 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* newValue, <a name="l00828"></a>00828 int32_t newValueLength, <a name="l00829"></a>00829 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00830"></a>00830 <a name="l00847"></a>00847 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00848"></a>00848 <a class="code" href="unum_8h.html#aa1c1db271d7a0510212cad89f8a555a6" title="Extract the pattern from a UNumberFormat.">unum_toPattern</a>( <span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a>* fmt, <a name="l00849"></a>00849 <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isPatternLocalized, <a name="l00850"></a>00850 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* result, <a name="l00851"></a>00851 int32_t resultLength, <a name="l00852"></a>00852 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00853"></a>00853 <a name="l00854"></a>00854 <a name="l00859"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832">00859</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832" title="Constants for specifying a number format symbol.">UNumberFormatSymbol</a> { <a name="l00861"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a6cf2eae8070a1472ff383b79e51a3672">00861</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a6cf2eae8070a1472ff383b79e51a3672" title="The decimal separator.">UNUM_DECIMAL_SEPARATOR_SYMBOL</a> = 0, <a name="l00863"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a7caa62a2f1bed1dfef22a23a693cef24">00863</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a7caa62a2f1bed1dfef22a23a693cef24" title="The grouping separator.">UNUM_GROUPING_SEPARATOR_SYMBOL</a> = 1, <a name="l00865"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a5eb091009c9a02bbebdb6431d2b4dc75">00865</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a5eb091009c9a02bbebdb6431d2b4dc75" title="The pattern separator.">UNUM_PATTERN_SEPARATOR_SYMBOL</a> = 2, <a name="l00867"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a5883afe4d7c2b26f507662371e2d7bf6">00867</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a5883afe4d7c2b26f507662371e2d7bf6" title="The percent sign.">UNUM_PERCENT_SYMBOL</a> = 3, <a name="l00869"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ada460e4eba23e055b04873b737a555f3">00869</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ada460e4eba23e055b04873b737a555f3" title="Zero.">UNUM_ZERO_DIGIT_SYMBOL</a> = 4, <a name="l00871"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832acaebfebe90c39566ced87e7f06261cb3">00871</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832acaebfebe90c39566ced87e7f06261cb3" title="Character representing a digit in the pattern.">UNUM_DIGIT_SYMBOL</a> = 5, <a name="l00873"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ac41e14d50a6e9e775c56da37b6605e61">00873</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ac41e14d50a6e9e775c56da37b6605e61" title="The minus sign.">UNUM_MINUS_SIGN_SYMBOL</a> = 6, <a name="l00875"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a702dd174fe87fc87d2b8277823e5698f">00875</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a702dd174fe87fc87d2b8277823e5698f" title="The plus sign.">UNUM_PLUS_SIGN_SYMBOL</a> = 7, <a name="l00877"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a4058db5d198fe1300aa8ee3cc3cdf4c3">00877</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a4058db5d198fe1300aa8ee3cc3cdf4c3" title="The currency symbol.">UNUM_CURRENCY_SYMBOL</a> = 8, <a name="l00879"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a4796ec4f4bea835c8692d1e4a6b68aeb">00879</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a4796ec4f4bea835c8692d1e4a6b68aeb" title="The international currency symbol.">UNUM_INTL_CURRENCY_SYMBOL</a> = 9, <a name="l00881"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ac61cae53a16c43243566e20e984464b2">00881</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ac61cae53a16c43243566e20e984464b2" title="The monetary separator.">UNUM_MONETARY_SEPARATOR_SYMBOL</a> = 10, <a name="l00883"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a3f91096f3423060c440807f6c2e85233">00883</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a3f91096f3423060c440807f6c2e85233" title="The exponential symbol.">UNUM_EXPONENTIAL_SYMBOL</a> = 11, <a name="l00885"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a11d90afae7100df580a2eeece46c1da7">00885</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a11d90afae7100df580a2eeece46c1da7" title="Per mill symbol.">UNUM_PERMILL_SYMBOL</a> = 12, <a name="l00887"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a1ef99bce9331e4a77feaa20a5b8c401e">00887</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a1ef99bce9331e4a77feaa20a5b8c401e" title="Escape padding character.">UNUM_PAD_ESCAPE_SYMBOL</a> = 13, <a name="l00889"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a28e639f8a96e2d7b3895b76f0a73a36a">00889</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a28e639f8a96e2d7b3895b76f0a73a36a" title="Infinity symbol.">UNUM_INFINITY_SYMBOL</a> = 14, <a name="l00891"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a88b09641ed43106d228c2346acfe17cc">00891</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a88b09641ed43106d228c2346acfe17cc" title="Nan symbol.">UNUM_NAN_SYMBOL</a> = 15, <a name="l00894"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a188ddfda3e376f7a68237f8904afc2f5">00894</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a188ddfda3e376f7a68237f8904afc2f5" title="Significant digit symbol.">UNUM_SIGNIFICANT_DIGIT_SYMBOL</a> = 16, <a name="l00898"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a572e13e5e2e71f715b40ba506c595ac8">00898</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832a572e13e5e2e71f715b40ba506c595ac8" title="The monetary grouping separator.">UNUM_MONETARY_GROUPING_SEPARATOR_SYMBOL</a> = 17, <a name="l00900"></a><a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ae2035b0efec37754a7ced473780741ef">00900</a> <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832ae2035b0efec37754a7ced473780741ef" title="count symbol constants">UNUM_FORMAT_SYMBOL_COUNT</a> = 18 <a name="l00901"></a>00901 } <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832" title="Constants for specifying a number format symbol.">UNumberFormatSymbol</a>; <a name="l00902"></a>00902 <a name="l00919"></a>00919 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00920"></a>00920 <a class="code" href="unum_8h.html#a7585fe85196e2bd9b814731c27def878" title="Get a symbol associated with a UNumberFormat.">unum_getSymbol</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a> *fmt, <a name="l00921"></a>00921 <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832" title="Constants for specifying a number format symbol.">UNumberFormatSymbol</a> symbol, <a name="l00922"></a>00922 <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *buffer, <a name="l00923"></a>00923 int32_t size, <a name="l00924"></a>00924 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00925"></a>00925 <a name="l00939"></a>00939 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00940"></a>00940 <a class="code" href="unum_8h.html#a00a0a03e950ff6e6cf6c63ad5870297c" title="Set a symbol associated with a UNumberFormat.">unum_setSymbol</a>(<a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a> *fmt, <a name="l00941"></a>00941 <a class="code" href="unum_8h.html#a79f73310e5d35c176b9adcb0a3e08832" title="Constants for specifying a number format symbol.">UNumberFormatSymbol</a> symbol, <a name="l00942"></a>00942 <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *value, <a name="l00943"></a>00943 int32_t length, <a name="l00944"></a>00944 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status); <a name="l00945"></a>00945 <a name="l00946"></a>00946 <a name="l00956"></a>00956 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00957"></a>00957 <a class="code" href="unum_8h.html#ade144d9121f72bf8a080aa7bf1060a55" title="Get the locale for this number format object.">unum_getLocaleByType</a>(<span class="keyword">const</span> <a class="code" href="unum_8h.html#aaeec8f4d21895a6f3efdedf14e8f946b" title="A number formatter.">UNumberFormat</a> *fmt, <a name="l00958"></a>00958 <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34" title="Constants for *_getLocale() Allow user to select whether she wants information on...">ULocDataLocaleType</a> type, <a name="l00959"></a>00959 <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>* status); <a name="l00960"></a>00960 <a name="l00961"></a>00961 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span> <a name="l00962"></a>00962 <a name="l00963"></a>00963 <span class="preprocessor">#endif</span> </pre></div></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>Defines</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>