404 Not Found


nginx
beegazpacho.com - GrazzMean
Uname: Linux in-mum-web1557.main-hosting.eu 5.14.0-611.42.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 05:30:20 EDT 2026 x86_64
Software: LiteSpeed
PHP version: 8.2.30 [ PHP INFO ] PHP os: Linux
Server Ip: 88.222.243.148
Your Ip: 216.73.216.168
User: u848900432 (848900432) | Group: o51372345 (1051372345)
Safe Mode: OFF
Disable Function:
NONE

name : unumberformatter_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 77.1: i18n/unicode/unumberformatter.h File 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/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 77.1
   &#160;<span id="projectnumber">77.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">unumberformatter.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Localized number formatting; not recommended for C++.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="parseerr_8h_source.html">unicode/parseerr.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="unumberoptions_8h_source.html">unicode/unumberoptions.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="uformattednumber_8h_source.html">unicode/uformattednumber.h</a>&quot;</code><br />
</div>
<p><a href="unumberformatter_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceicu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html">icu</a></td></tr>
<tr class="memdesc:namespaceicu"><td class="mdescLeft">&#160;</td><td class="mdescRight">File <a class="el" href="coll_8h.html" title="C++ API: Collation Service.">coll.h</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ae481df8b480671a6affec8af37491dd5"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71">UNumberRoundingPriority</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#ae481df8b480671a6affec8af37491dd5">UNumberRoundingPriority</a></td></tr>
<tr class="memdesc:ae481df8b480671a6affec8af37491dd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to resolve conflicts between maximum fraction digits and maximum significant digits.  <a href="unumberformatter_8h.html#ae481df8b480671a6affec8af37491dd5">More...</a><br /></td></tr>
<tr class="separator:ae481df8b480671a6affec8af37491dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ff46527ed00aa2fb63dbe731ca38d14"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3f">UNumberUnitWidth</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a3ff46527ed00aa2fb63dbe731ca38d14">UNumberUnitWidth</a></td></tr>
<tr class="memdesc:a3ff46527ed00aa2fb63dbe731ca38d14"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to render units, including currencies.  <a href="unumberformatter_8h.html#a3ff46527ed00aa2fb63dbe731ca38d14">More...</a><br /></td></tr>
<tr class="separator:a3ff46527ed00aa2fb63dbe731ca38d14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7824ae96448ade8bf4a69179467a4ad5"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9">UNumberSignDisplay</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a7824ae96448ade8bf4a69179467a4ad5">UNumberSignDisplay</a></td></tr>
<tr class="memdesc:a7824ae96448ade8bf4a69179467a4ad5"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to denote positive and negative numbers.  <a href="unumberformatter_8h.html#a7824ae96448ade8bf4a69179467a4ad5">More...</a><br /></td></tr>
<tr class="separator:a7824ae96448ade8bf4a69179467a4ad5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16fcae79100ada1f65d90b7e0c03a7f1"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6">UNumberDecimalSeparatorDisplay</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a16fcae79100ada1f65d90b7e0c03a7f1">UNumberDecimalSeparatorDisplay</a></td></tr>
<tr class="memdesc:a16fcae79100ada1f65d90b7e0c03a7f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to render the decimal separator.  <a href="unumberformatter_8h.html#a16fcae79100ada1f65d90b7e0c03a7f1">More...</a><br /></td></tr>
<tr class="separator:a16fcae79100ada1f65d90b7e0c03a7f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6589afa357c20be35272c7450cf2c1d1"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26">UNumberTrailingZeroDisplay</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a6589afa357c20be35272c7450cf2c1d1">UNumberTrailingZeroDisplay</a></td></tr>
<tr class="memdesc:a6589afa357c20be35272c7450cf2c1d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to render trailing zeros.  <a href="unumberformatter_8h.html#a6589afa357c20be35272c7450cf2c1d1">More...</a><br /></td></tr>
<tr class="separator:a6589afa357c20be35272c7450cf2c1d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c1238b2dd08f32f1ea245ece41e71bd"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a></td></tr>
<tr class="memdesc:a7c1238b2dd08f32f1ea245ece41e71bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">C-compatible version of <a class="el" href="classicu_1_1number_1_1LocalizedNumberFormatter.html" title="A NumberFormatter that has a locale associated with it; this means .format() methods are available.">icu::number::LocalizedNumberFormatter</a>.  <a href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">More...</a><br /></td></tr>
<tr class="separator:a7c1238b2dd08f32f1ea245ece41e71bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a002bb379f6d06333590e00771c613c71"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71">UNumberRoundingPriority</a> { <a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71a08945b9561fa619c16140a916e8781e0">UNUM_ROUNDING_PRIORITY_RELAXED</a>
, <a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71adce485a55ec6629f86c2feaa8b344a04">UNUM_ROUNDING_PRIORITY_STRICT</a>
 }</td></tr>
<tr class="memdesc:a002bb379f6d06333590e00771c613c71"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to resolve conflicts between maximum fraction digits and maximum significant digits.  <a href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71">More...</a><br /></td></tr>
<tr class="separator:a002bb379f6d06333590e00771c613c71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ee613b0f806f558d9ea877aa62a0c3f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3f">UNumberUnitWidth</a> { <br />
&#160;&#160;<a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fa721badced2bb2b04f6c10afaed3bedef">UNUM_UNIT_WIDTH_NARROW</a> = 0
, <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fad8d8a2f752f8e91c3360c9a5399ef593">UNUM_UNIT_WIDTH_SHORT</a> = 1
, <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fa21dfe289ee4e87262df9622134ab29db">UNUM_UNIT_WIDTH_FULL_NAME</a> = 2
, <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fad0ce2ec95aad4c8c32967b9e2f84fcfb">UNUM_UNIT_WIDTH_ISO_CODE</a> = 3
, <br />
&#160;&#160;<a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fa63c08bf7ebfee6ca9e1365c85edccd64">UNUM_UNIT_WIDTH_FORMAL</a> = 4
, <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fa930655d3f12aeca28d3df0d0d49c4e58">UNUM_UNIT_WIDTH_VARIANT</a> = 5
, <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3fa1b45ff25f674b915fb1481b30e23eea5">UNUM_UNIT_WIDTH_HIDDEN</a> = 6
, <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3faefbce8f020b12394f6d37b982273a758">UNUM_UNIT_WIDTH_COUNT</a> = 7
<br />
 }</td></tr>
<tr class="memdesc:a5ee613b0f806f558d9ea877aa62a0c3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to render units, including currencies.  <a href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3f">More...</a><br /></td></tr>
<tr class="separator:a5ee613b0f806f558d9ea877aa62a0c3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18092ae1533c9c260f01c9dbf25589c9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9">UNumberSignDisplay</a> { <br />
&#160;&#160;<a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a3919ed89463cc89fc7f25cbd9c9e4968">UNUM_SIGN_AUTO</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a1c62fa437fad105b04e5fcbf65167f4a">UNUM_SIGN_ALWAYS</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a54dff733ecf5a488b6176a3de58229f0">UNUM_SIGN_NEVER</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a3fcc7e72482eaa1f71e0a96506cf6ac2">UNUM_SIGN_ACCOUNTING</a>
, <br />
&#160;&#160;<a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a5bcfdf8a223dd757686edeeda2eca603">UNUM_SIGN_ACCOUNTING_ALWAYS</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9aa9342df5634c3fc780e31553fb561543">UNUM_SIGN_EXCEPT_ZERO</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a21f195d374f2d6b54d2bc84fc60a52fa">UNUM_SIGN_ACCOUNTING_EXCEPT_ZERO</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9ac06db8e834dd916f3af016910c7fa1b0">UNUM_SIGN_NEGATIVE</a>
, <br />
&#160;&#160;<a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a35d5896fc2f19a99fdd0a502931abbf4">UNUM_SIGN_ACCOUNTING_NEGATIVE</a>
, <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9ae5314fcda9c534ff8c6e686f967a4c54">UNUM_SIGN_COUNT</a> = 9
<br />
 }</td></tr>
<tr class="memdesc:a18092ae1533c9c260f01c9dbf25589c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to denote positive and negative numbers.  <a href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9">More...</a><br /></td></tr>
<tr class="separator:a18092ae1533c9c260f01c9dbf25589c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e0fe0c910e360dda5cdad3387e5a0c6"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6">UNumberDecimalSeparatorDisplay</a> { <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6a93927951d26b124a5557235406f290d6">UNUM_DECIMAL_SEPARATOR_AUTO</a>
, <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6abb6bc9885a6f2bee1795056d215f0522">UNUM_DECIMAL_SEPARATOR_ALWAYS</a>
, <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6a1d1b364e55dcabab30649afbaa200cd0">UNUM_DECIMAL_SEPARATOR_COUNT</a>
 }</td></tr>
<tr class="memdesc:a1e0fe0c910e360dda5cdad3387e5a0c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to render the decimal separator.  <a href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6">More...</a><br /></td></tr>
<tr class="separator:a1e0fe0c910e360dda5cdad3387e5a0c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39a7f386dd7f624dd611d4f5249c2c26"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26">UNumberTrailingZeroDisplay</a> { <a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26a673c844c1941590a781fab2f0d2fb7b2">UNUM_TRAILING_ZERO_AUTO</a>
, <a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26a89147ccac5570a1817c370f8e63837df">UNUM_TRAILING_ZERO_HIDE_IF_WHOLE</a>
 }</td></tr>
<tr class="memdesc:a39a7f386dd7f624dd611d4f5249c2c26"><td class="mdescLeft">&#160;</td><td class="mdescRight">An enum declaring how to render trailing zeros.  <a href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26">More...</a><br /></td></tr>
<tr class="separator:a39a7f386dd7f624dd611d4f5249c2c26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:adfb3d31c54a8baf5c376e45b32c82fd4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#adfb3d31c54a8baf5c376e45b32c82fd4">unumf_openForSkeletonAndLocale</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *skeleton, int32_t skeletonLen, const char *locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:adfb3d31c54a8baf5c376e45b32c82fd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new UNumberFormatter for the given skeleton string and locale.  <a href="unumberformatter_8h.html#adfb3d31c54a8baf5c376e45b32c82fd4">More...</a><br /></td></tr>
<tr class="separator:adfb3d31c54a8baf5c376e45b32c82fd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cc5e657b62db668d174aaf414bd9b73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a3cc5e657b62db668d174aaf414bd9b73">unumf_openForSkeletonAndLocaleWithError</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *skeleton, int32_t skeletonLen, const char *locale, <a class="el" href="structUParseError.html">UParseError</a> *perror, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a3cc5e657b62db668d174aaf414bd9b73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Like unumf_openForSkeletonAndLocale, but accepts a <a class="el" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a>, which will be populated with the location of a skeleton syntax error if such a syntax error exists.  <a href="unumberformatter_8h.html#a3cc5e657b62db668d174aaf414bd9b73">More...</a><br /></td></tr>
<tr class="separator:a3cc5e657b62db668d174aaf414bd9b73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69a79cf493b3bc508c613c6bf216f3b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a69a79cf493b3bc508c613c6bf216f3b7">unumf_formatInt</a> (const <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *uformatter, int64_t value, <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a69a79cf493b3bc508c613c6bf216f3b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses a UNumberFormatter to format an integer to a UFormattedNumber.  <a href="unumberformatter_8h.html#a69a79cf493b3bc508c613c6bf216f3b7">More...</a><br /></td></tr>
<tr class="separator:a69a79cf493b3bc508c613c6bf216f3b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54193ed406316485803e3dac3a96615f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a54193ed406316485803e3dac3a96615f">unumf_formatDouble</a> (const <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *uformatter, double value, <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a54193ed406316485803e3dac3a96615f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses a UNumberFormatter to format a double to a UFormattedNumber.  <a href="unumberformatter_8h.html#a54193ed406316485803e3dac3a96615f">More...</a><br /></td></tr>
<tr class="separator:a54193ed406316485803e3dac3a96615f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6183aa03b43b63b231341770035bace9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a6183aa03b43b63b231341770035bace9">unumf_formatDecimal</a> (const <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *uformatter, const char *value, int32_t valueLen, <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a6183aa03b43b63b231341770035bace9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Uses a UNumberFormatter to format a decimal number to a UFormattedNumber.  <a href="unumberformatter_8h.html#a6183aa03b43b63b231341770035bace9">More...</a><br /></td></tr>
<tr class="separator:a6183aa03b43b63b231341770035bace9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96b7d8112557be07812b88b05f139d45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unumberformatter_8h.html#a96b7d8112557be07812b88b05f139d45">unumf_close</a> (<a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *uformatter)</td></tr>
<tr class="memdesc:a96b7d8112557be07812b88b05f139d45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases the UNumberFormatter created by <a class="el" href="unumberformatter_8h.html#adfb3d31c54a8baf5c376e45b32c82fd4" title="Creates a new UNumberFormatter for the given skeleton string and locale.">unumf_openForSkeletonAndLocale()</a>.  <a href="unumberformatter_8h.html#a96b7d8112557be07812b88b05f139d45">More...</a><br /></td></tr>
<tr class="separator:a96b7d8112557be07812b88b05f139d45"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C API: Localized number formatting; not recommended for C++. </p>
<p>This is the C-compatible version of the NumberFormatter API introduced in ICU 60. C++ users should include <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">unicode/numberformatter.h</a> and use the proper C++ APIs.</p>
<p>The C API accepts a number skeleton string for specifying the settings for formatting, which covers a very large subset of all possible number formatting features. For more information on number skeleton strings, see <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">unicode/numberformatter.h</a>.</p>
<p>When using UNumberFormatter, which is treated as immutable, the results are exported to a mutable UFormattedNumber object, which you subsequently use for populating your string buffer or iterating over the fields.</p>
<p>Example code: </p><pre>
// Setup:
UErrorCode ec = U_ZERO_ERROR;
UNumberFormatter* uformatter = unumf_openForSkeletonAndLocale(u"precision-integer", -1, "en", &amp;ec);
UFormattedNumber* uresult = unumf_openResult(&amp;ec);
if (<a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure?">U_FAILURE(ec)</a>) { return; }

// Format a double:
unumf_formatDouble(uformatter, 5142.3, uresult, &amp;ec);
if (<a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure?">U_FAILURE(ec)</a>) { return; }

// Export the string to a malloc'd buffer:
int32_t len = unumf_resultToString(uresult, NULL, 0, &amp;ec);
// at this point, ec == U_BUFFER_OVERFLOW_ERROR
ec = U_ZERO_ERROR;
UChar* buffer = (UChar*) malloc((len+1)*sizeof(UChar));
unumf_resultToString(uresult, buffer, len+1, &amp;ec);
if (<a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure?">U_FAILURE(ec)</a>) { return; }
// buffer should equal "5,142"

// Cleanup:
unumf_close(uformatter);
unumf_closeResult(uresult);
free(buffer);
</pre><p>If you are a C++ user linking against the C libraries, you can use the LocalPointer versions of these APIs. The following example uses LocalPointer with the decimal number and field position APIs:</p>
<pre>
// Setup:
<a class="el" href="classLocalUNumberFormatterPointer.html" title="&quot;Smart pointer&quot; class; closes a UNumberFormatter via unumf_close().">LocalUNumberFormatterPointer</a> uformatter(unumf_openForSkeletonAndLocale(u"percent", -1, "en", &amp;ec));
<a class="el" href="classLocalUFormattedNumberPointer.html" title="&quot;Smart pointer&quot; class; closes a UFormattedNumber via unumf_closeResult().">LocalUFormattedNumberPointer</a> uresult(unumf_openResult(&amp;ec));
if (<a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure?">U_FAILURE(ec)</a>) { return; }

// Format a decimal number:
unumf_formatDecimal(uformatter.getAlias(), "9.87E-3", -1, uresult.getAlias(), &amp;ec);
if (<a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure?">U_FAILURE(ec)</a>) { return; }

// Get the location of the percent sign:
<a class="el" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> ufpos = {UNUM_PERCENT_FIELD, 0, 0};
unumf_resultNextFieldPosition(uresult.getAlias(), &amp;ufpos, &amp;ec);
// ufpos should contain beginIndex=7 and endIndex=8 since the string is "0.00987%"

// No need to do any cleanup since we are using LocalPointer.
</pre> 
<p class="definition">Definition in file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a16fcae79100ada1f65d90b7e0c03a7f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16fcae79100ada1f65d90b7e0c03a7f1">&#9670;&nbsp;</a></span>UNumberDecimalSeparatorDisplay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6">UNumberDecimalSeparatorDisplay</a> <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6">UNumberDecimalSeparatorDisplay</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to render the decimal separator. </p>
<ul>
<li>
UNUM_DECIMAL_SEPARATOR_AUTO: "1", "1.1" </li>
<li>
UNUM_DECIMAL_SEPARATOR_ALWAYS: "1.", "1.1" </li>
</ul>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006717">Stable:</a></b></dt><dd>ICU 60 </dd></dl>

</div>
</div>
<a id="a7c1238b2dd08f32f1ea245ece41e71bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c1238b2dd08f32f1ea245ece41e71bd">&#9670;&nbsp;</a></span>UNumberFormatter</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>C-compatible version of <a class="el" href="classicu_1_1number_1_1LocalizedNumberFormatter.html" title="A NumberFormatter that has a locale associated with it; this means .format() methods are available.">icu::number::LocalizedNumberFormatter</a>. </p>
<p>NOTE: This is a C-compatible API; C++ users should build against <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">numberformatter.h</a> instead.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006719">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

<p class="definition">Definition at line <a class="el" href="unumberformatter_8h_source.html#l00001">1</a> of file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>

</div>
</div>
<a id="ae481df8b480671a6affec8af37491dd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae481df8b480671a6affec8af37491dd5">&#9670;&nbsp;</a></span>UNumberRoundingPriority</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71">UNumberRoundingPriority</a> <a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71">UNumberRoundingPriority</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to resolve conflicts between maximum fraction digits and maximum significant digits. </p>
<p>There are two modes, RELAXED and STRICT:</p>
<ul>
<li>RELAXED: Relax one of the two constraints (fraction digits or significant digits) in order to round the number to a higher level of precision.</li>
<li>STRICT: Enforce both constraints, resulting in the number being rounded to a lower level of precision.</li>
</ul>
<p>The default settings for compact notation rounding are Max-Fraction = 0 (round to the nearest integer), Max-Significant = 2 (round to 2 significant digits), and priority RELAXED (choose the constraint that results in more digits being displayed).</p>
<p>Conflicting <em>minimum</em> fraction and significant digits are always resolved in the direction that results in more trailing zeros.</p>
<p>Example 1: Consider the number 3.141, with various different settings:</p>
<ul>
<li>Max-Fraction = 1: "3.1"</li>
<li>Max-Significant = 3: "3.14"</li>
</ul>
<p>The rounding priority determines how to resolve the conflict when both Max-Fraction and Max-Significant are set. With RELAXED, the less-strict setting (the one that causes more digits to be displayed) will be used; Max-Significant wins. With STRICT, the more-strict setting (the one that causes fewer digits to be displayed) will be used; Max-Fraction wins.</p>
<p>Example 2: Consider the number 8317, with various different settings:</p>
<ul>
<li>Max-Fraction = 1: "8317"</li>
<li>Max-Significant = 3: "8320"</li>
</ul>
<p>Here, RELAXED favors Max-Fraction and STRICT favors Max-Significant. Note that this larger number caused the two modes to favor the opposite result.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006714">Stable:</a></b></dt><dd>ICU 69 </dd></dl>

</div>
</div>
<a id="a7824ae96448ade8bf4a69179467a4ad5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7824ae96448ade8bf4a69179467a4ad5">&#9670;&nbsp;</a></span>UNumberSignDisplay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9">UNumberSignDisplay</a> <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9">UNumberSignDisplay</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to denote positive and negative numbers. </p>
<p>Example outputs when formatting 123, 0, and -123 in <em>en-US</em>:</p>
<ul>
<li>
AUTO: "123", "0", and "-123" </li>
<li>
ALWAYS: "+123", "+0", and "-123" </li>
<li>
NEVER: "123", "0", and "123" </li>
<li>
ACCOUNTING: "$123", "$0", and "($123)" </li>
<li>
ACCOUNTING_ALWAYS: "+$123", "+$0", and "($123)" </li>
<li>
EXCEPT_ZERO: "+123", "0", and "-123" </li>
<li>
ACCOUNTING_EXCEPT_ZERO: "+$123", "$0", and "($123)" </li>
</ul>
<p>The exact format, including the position and the code point of the sign, differ by locale.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006716">Stable:</a></b></dt><dd>ICU 60 </dd></dl>

</div>
</div>
<a id="a6589afa357c20be35272c7450cf2c1d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6589afa357c20be35272c7450cf2c1d1">&#9670;&nbsp;</a></span>UNumberTrailingZeroDisplay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26">UNumberTrailingZeroDisplay</a> <a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26">UNumberTrailingZeroDisplay</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to render trailing zeros. </p>
<ul>
<li>UNUM_TRAILING_ZERO_AUTO: 0.90, 1.00, 1.10</li>
<li><p class="startli">UNUM_TRAILING_ZERO_HIDE_IF_WHOLE: 0.90, 1, 1.10</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006718">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</li>
</ul>

</div>
</div>
<a id="a3ff46527ed00aa2fb63dbe731ca38d14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ff46527ed00aa2fb63dbe731ca38d14">&#9670;&nbsp;</a></span>UNumberUnitWidth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3f">UNumberUnitWidth</a> <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3f">UNumberUnitWidth</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to render units, including currencies. </p>
<p>Example outputs when formatting 123 USD and 123 meters in <em>en-CA</em>:</p>
<ul>
<li>
NARROW*: "$123.00" and "123 m" </li>
<li>
SHORT: "US$&amp;nbsp;123.00" and "123 m" </li>
<li>
FULL_NAME: "123.00 US dollars" and "123 meters" </li>
<li>
ISO_CODE: "USD&amp;nbsp;123.00" and undefined behavior </li>
<li>
HIDDEN: "123.00" and "123" </li>
</ul>
<p>This enum is similar to <a class="el" href="measfmt_8h.html#a22ea0f6dd9ebe30a5b9d3f8f439af43f">UMeasureFormatWidth</a>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006715">Stable:</a></b></dt><dd>ICU 60 </dd></dl>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="a1e0fe0c910e360dda5cdad3387e5a0c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e0fe0c910e360dda5cdad3387e5a0c6">&#9670;&nbsp;</a></span>UNumberDecimalSeparatorDisplay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="unumberformatter_8h.html#a1e0fe0c910e360dda5cdad3387e5a0c6">UNumberDecimalSeparatorDisplay</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to render the decimal separator. </p>
<ul>
<li>
UNUM_DECIMAL_SEPARATOR_AUTO: "1", "1.1" </li>
<li>
UNUM_DECIMAL_SEPARATOR_ALWAYS: "1.", "1.1" </li>
</ul>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006717">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a1e0fe0c910e360dda5cdad3387e5a0c6a93927951d26b124a5557235406f290d6"></a>UNUM_DECIMAL_SEPARATOR_AUTO&#160;</td><td class="fielddoc"><p>Show the decimal separator when there are one or more digits to display after the separator, and do not show it otherwise. </p>
<p>This is the default behavior.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006744">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a1e0fe0c910e360dda5cdad3387e5a0c6abb6bc9885a6f2bee1795056d215f0522"></a>UNUM_DECIMAL_SEPARATOR_ALWAYS&#160;</td><td class="fielddoc"><p>Always show the decimal separator, even if there are no digits to display after the separator. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006745">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a1e0fe0c910e360dda5cdad3387e5a0c6a1d1b364e55dcabab30649afbaa200cd0"></a>UNUM_DECIMAL_SEPARATOR_COUNT&#160;</td><td class="fielddoc"><p>One more than the highest UNumberDecimalSeparatorDisplay value. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000898">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 60: The numeric value may change over time; see ICU ticket #12420. </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="unumberformatter_8h_source.html#l00369">369</a> of file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>

</div>
</div>
<a id="a002bb379f6d06333590e00771c613c71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a002bb379f6d06333590e00771c613c71">&#9670;&nbsp;</a></span>UNumberRoundingPriority</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="unumberformatter_8h.html#a002bb379f6d06333590e00771c613c71">UNumberRoundingPriority</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to resolve conflicts between maximum fraction digits and maximum significant digits. </p>
<p>There are two modes, RELAXED and STRICT:</p>
<ul>
<li>RELAXED: Relax one of the two constraints (fraction digits or significant digits) in order to round the number to a higher level of precision.</li>
<li>STRICT: Enforce both constraints, resulting in the number being rounded to a lower level of precision.</li>
</ul>
<p>The default settings for compact notation rounding are Max-Fraction = 0 (round to the nearest integer), Max-Significant = 2 (round to 2 significant digits), and priority RELAXED (choose the constraint that results in more digits being displayed).</p>
<p>Conflicting <em>minimum</em> fraction and significant digits are always resolved in the direction that results in more trailing zeros.</p>
<p>Example 1: Consider the number 3.141, with various different settings:</p>
<ul>
<li>Max-Fraction = 1: "3.1"</li>
<li>Max-Significant = 3: "3.14"</li>
</ul>
<p>The rounding priority determines how to resolve the conflict when both Max-Fraction and Max-Significant are set. With RELAXED, the less-strict setting (the one that causes more digits to be displayed) will be used; Max-Significant wins. With STRICT, the more-strict setting (the one that causes fewer digits to be displayed) will be used; Max-Fraction wins.</p>
<p>Example 2: Consider the number 8317, with various different settings:</p>
<ul>
<li>Max-Fraction = 1: "8317"</li>
<li>Max-Significant = 3: "8320"</li>
</ul>
<p>Here, RELAXED favors Max-Fraction and STRICT favors Max-Significant. Note that this larger number caused the two modes to favor the opposite result.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006714">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a002bb379f6d06333590e00771c613c71a08945b9561fa619c16140a916e8781e0"></a>UNUM_ROUNDING_PRIORITY_RELAXED&#160;</td><td class="fielddoc"><p>Favor greater precision by relaxing one of the rounding constraints. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006726">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a002bb379f6d06333590e00771c613c71adce485a55ec6629f86c2feaa8b344a04"></a>UNUM_ROUNDING_PRIORITY_STRICT&#160;</td><td class="fielddoc"><p>Favor adherence to all rounding constraints by producing lower precision. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006727">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="unumberformatter_8h_source.html#l00118">118</a> of file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>

</div>
</div>
<a id="a18092ae1533c9c260f01c9dbf25589c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18092ae1533c9c260f01c9dbf25589c9">&#9670;&nbsp;</a></span>UNumberSignDisplay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9">UNumberSignDisplay</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to denote positive and negative numbers. </p>
<p>Example outputs when formatting 123, 0, and -123 in <em>en-US</em>:</p>
<ul>
<li>
AUTO: "123", "0", and "-123" </li>
<li>
ALWAYS: "+123", "+0", and "-123" </li>
<li>
NEVER: "123", "0", and "123" </li>
<li>
ACCOUNTING: "$123", "$0", and "($123)" </li>
<li>
ACCOUNTING_ALWAYS: "+$123", "+$0", and "($123)" </li>
<li>
EXCEPT_ZERO: "+123", "0", and "-123" </li>
<li>
ACCOUNTING_EXCEPT_ZERO: "+$123", "$0", and "($123)" </li>
</ul>
<p>The exact format, including the position and the code point of the sign, differ by locale.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006716">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a3919ed89463cc89fc7f25cbd9c9e4968"></a>UNUM_SIGN_AUTO&#160;</td><td class="fielddoc"><p>Show the minus sign on negative numbers, and do not show the sign on positive numbers. </p>
<p>This is the default behavior.</p>
<p>If using this option, a sign will be displayed on negative zero, including negative numbers that round to zero. To hide the sign on negative zero, use the NEGATIVE option.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006735">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a1c62fa437fad105b04e5fcbf65167f4a"></a>UNUM_SIGN_ALWAYS&#160;</td><td class="fielddoc"><p>Show the minus sign on negative numbers and the plus sign on positive numbers, including zero. </p>
<p>To hide the sign on zero, see <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9aa9342df5634c3fc780e31553fb561543">UNUM_SIGN_EXCEPT_ZERO</a>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006736">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a54dff733ecf5a488b6176a3de58229f0"></a>UNUM_SIGN_NEVER&#160;</td><td class="fielddoc"><p>Do not show the sign on positive or negative numbers. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006737">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a3fcc7e72482eaa1f71e0a96506cf6ac2"></a>UNUM_SIGN_ACCOUNTING&#160;</td><td class="fielddoc"><p>Use the locale-dependent accounting format on negative numbers, and do not show the sign on positive numbers. </p>
<p>The accounting format is defined in CLDR and varies by locale; in many Western locales, the format is a pair of parentheses around the number.</p>
<p>Note: Since CLDR defines the accounting format in the monetary context only, this option falls back to the AUTO sign display strategy when formatting without a currency unit. This limitation may be lifted in the future.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006738">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a5bcfdf8a223dd757686edeeda2eca603"></a>UNUM_SIGN_ACCOUNTING_ALWAYS&#160;</td><td class="fielddoc"><p>Use the locale-dependent accounting format on negative numbers, and show the plus sign on positive numbers, including zero. </p>
<p>For more information on the accounting format, see the ACCOUNTING sign display strategy. To hide the sign on zero, see <a class="el" href="unumberformatter_8h.html#a18092ae1533c9c260f01c9dbf25589c9a21f195d374f2d6b54d2bc84fc60a52fa">UNUM_SIGN_ACCOUNTING_EXCEPT_ZERO</a>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006739">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9aa9342df5634c3fc780e31553fb561543"></a>UNUM_SIGN_EXCEPT_ZERO&#160;</td><td class="fielddoc"><p>Show the minus sign on negative numbers and the plus sign on positive numbers. </p>
<p>Do not show a sign on zero, numbers that round to zero, or NaN.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006740">Stable:</a></b></dt><dd>ICU 61 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a21f195d374f2d6b54d2bc84fc60a52fa"></a>UNUM_SIGN_ACCOUNTING_EXCEPT_ZERO&#160;</td><td class="fielddoc"><p>Use the locale-dependent accounting format on negative numbers, and show the plus sign on positive numbers. </p>
<p>Do not show a sign on zero, numbers that round to zero, or NaN. For more information on the accounting format, see the ACCOUNTING sign display strategy.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006741">Stable:</a></b></dt><dd>ICU 61 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9ac06db8e834dd916f3af016910c7fa1b0"></a>UNUM_SIGN_NEGATIVE&#160;</td><td class="fielddoc"><p>Same as AUTO, but do not show the sign on negative zero. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006742">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9a35d5896fc2f19a99fdd0a502931abbf4"></a>UNUM_SIGN_ACCOUNTING_NEGATIVE&#160;</td><td class="fielddoc"><p>Same as ACCOUNTING, but do not show the sign on negative zero. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006743">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a18092ae1533c9c260f01c9dbf25589c9ae5314fcda9c534ff8c6e686f967a4c54"></a>UNUM_SIGN_COUNT&#160;</td><td class="fielddoc"><p>One more than the highest UNumberSignDisplay value. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000897">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 60: The numeric value may change over time; see ICU ticket #12420. </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="unumberformatter_8h_source.html#l00264">264</a> of file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>

</div>
</div>
<a id="a39a7f386dd7f624dd611d4f5249c2c26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39a7f386dd7f624dd611d4f5249c2c26">&#9670;&nbsp;</a></span>UNumberTrailingZeroDisplay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="unumberformatter_8h.html#a39a7f386dd7f624dd611d4f5249c2c26">UNumberTrailingZeroDisplay</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to render trailing zeros. </p>
<ul>
<li>UNUM_TRAILING_ZERO_AUTO: 0.90, 1.00, 1.10</li>
<li><p class="startli">UNUM_TRAILING_ZERO_HIDE_IF_WHOLE: 0.90, 1, 1.10</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006718">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</li>
</ul>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a39a7f386dd7f624dd611d4f5249c2c26a673c844c1941590a781fab2f0d2fb7b2"></a>UNUM_TRAILING_ZERO_AUTO&#160;</td><td class="fielddoc"><p>Display trailing zeros according to the settings for minimum fraction and significant digits. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006746">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a39a7f386dd7f624dd611d4f5249c2c26a89147ccac5570a1817c370f8e63837df"></a>UNUM_TRAILING_ZERO_HIDE_IF_WHOLE&#160;</td><td class="fielddoc"><p>Same as AUTO, but hide trailing zeros after the decimal separator if they are all zero. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006747">Stable:</a></b></dt><dd>ICU 69 </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="unumberformatter_8h_source.html#l00403">403</a> of file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>

</div>
</div>
<a id="a5ee613b0f806f558d9ea877aa62a0c3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ee613b0f806f558d9ea877aa62a0c3f">&#9670;&nbsp;</a></span>UNumberUnitWidth</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="unumberformatter_8h.html#a5ee613b0f806f558d9ea877aa62a0c3f">UNumberUnitWidth</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An enum declaring how to render units, including currencies. </p>
<p>Example outputs when formatting 123 USD and 123 meters in <em>en-CA</em>:</p>
<ul>
<li>
NARROW*: "$123.00" and "123 m" </li>
<li>
SHORT: "US$&amp;nbsp;123.00" and "123 m" </li>
<li>
FULL_NAME: "123.00 US dollars" and "123 meters" </li>
<li>
ISO_CODE: "USD&amp;nbsp;123.00" and undefined behavior </li>
<li>
HIDDEN: "123.00" and "123" </li>
</ul>
<p>This enum is similar to <a class="el" href="measfmt_8h.html#a22ea0f6dd9ebe30a5b9d3f8f439af43f">UMeasureFormatWidth</a>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006715">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fa721badced2bb2b04f6c10afaed3bedef"></a>UNUM_UNIT_WIDTH_NARROW&#160;</td><td class="fielddoc"><p>Print an abbreviated version of the unit name. </p>
<p>Similar to SHORT, but always use the shortest available abbreviation or symbol. This option can be used when the context hints at the identity of the unit. For more information on the difference between NARROW and SHORT, see SHORT.</p>
<p>In CLDR, this option corresponds to the "Narrow" format for measure units and the "¤¤¤¤¤" placeholder for currencies.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006728">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fad8d8a2f752f8e91c3360c9a5399ef593"></a>UNUM_UNIT_WIDTH_SHORT&#160;</td><td class="fielddoc"><p>Print an abbreviated version of the unit name. </p>
<p>Similar to NARROW, but use a slightly wider abbreviation or symbol when there may be ambiguity. This is the default behavior.</p>
<p>For example, in <em>es-US</em>, the SHORT form for Fahrenheit is "{0} °F", but the NARROW form is "{0}°", since Fahrenheit is the customary unit for temperature in that locale.</p>
<p>In CLDR, this option corresponds to the "Short" format for measure units and the "¤" placeholder for currencies.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006729">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fa21dfe289ee4e87262df9622134ab29db"></a>UNUM_UNIT_WIDTH_FULL_NAME&#160;</td><td class="fielddoc"><p>Print the full name of the unit, without any abbreviations. </p>
<p>In CLDR, this option corresponds to the default format for measure units and the "¤¤¤" placeholder for currencies.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006730">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fad0ce2ec95aad4c8c32967b9e2f84fcfb"></a>UNUM_UNIT_WIDTH_ISO_CODE&#160;</td><td class="fielddoc"><p>Use the three-digit ISO XXX code in place of the symbol for displaying currencies. </p>
<p>The behavior of this option is currently undefined for use with measure units.</p>
<p>In CLDR, this option corresponds to the "¤¤" placeholder for currencies.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006731">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fa63c08bf7ebfee6ca9e1365c85edccd64"></a>UNUM_UNIT_WIDTH_FORMAL&#160;</td><td class="fielddoc"><p>Use the formal variant of the currency symbol; for example, "NT$" for the New Taiwan dollar in zh-TW. </p>
<p>Behavior of this option with non-currency units is not defined at this time.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006732">Stable:</a></b></dt><dd>ICU 68 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fa930655d3f12aeca28d3df0d0d49c4e58"></a>UNUM_UNIT_WIDTH_VARIANT&#160;</td><td class="fielddoc"><p>Use the alternate variant of the currency symbol; for example, "TL" for the Turkish lira (TRY). </p>
<p>Behavior of this option with non-currency units is not defined at this time.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006733">Stable:</a></b></dt><dd>ICU 68 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3fa1b45ff25f674b915fb1481b30e23eea5"></a>UNUM_UNIT_WIDTH_HIDDEN&#160;</td><td class="fielddoc"><p>Format the number according to the specified unit, but do not display the unit. </p>
<p>For currencies, apply monetary symbols and formats as with SHORT, but omit the currency symbol. For measure units, the behavior is equivalent to not specifying the unit at all.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006734">Stable:</a></b></dt><dd>ICU 60 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a5ee613b0f806f558d9ea877aa62a0c3faefbce8f020b12394f6d37b982273a758"></a>UNUM_UNIT_WIDTH_COUNT&#160;</td><td class="fielddoc"><p>One more than the highest UNumberUnitWidth value. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000896">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 60: The numeric value may change over time; see ICU ticket #12420. </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="unumberformatter_8h_source.html#l00152">152</a> of file <a class="el" href="unumberformatter_8h_source.html">unumberformatter.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a96b7d8112557be07812b88b05f139d45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96b7d8112557be07812b88b05f139d45">&#9670;&nbsp;</a></span>unumf_close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void unumf_close </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *&#160;</td>
          <td class="paramname"><em>uformatter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Releases the UNumberFormatter created by <a class="el" href="unumberformatter_8h.html#adfb3d31c54a8baf5c376e45b32c82fd4" title="Creates a new UNumberFormatter for the given skeleton string and locale.">unumf_openForSkeletonAndLocale()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uformatter</td><td>An object created by <a class="el" href="unumberformatter_8h.html#adfb3d31c54a8baf5c376e45b32c82fd4" title="Creates a new UNumberFormatter for the given skeleton string and locale.">unumf_openForSkeletonAndLocale()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006725">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="a6183aa03b43b63b231341770035bace9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6183aa03b43b63b231341770035bace9">&#9670;&nbsp;</a></span>unumf_formatDecimal()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void unumf_formatDecimal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *&#160;</td>
          <td class="paramname"><em>uformatter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>valueLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *&#160;</td>
          <td class="paramname"><em>uresult</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Uses a UNumberFormatter to format a decimal number to a UFormattedNumber. </p>
<p>A string, field position, and other information can be retrieved from the UFormattedNumber.</p>
<p>The UNumberFormatter can be shared between threads. Each thread should have its own local UFormattedNumber, however, for storing the result of the formatting operation.</p>
<p>The syntax of the unformatted number is a "numeric string" as defined in the Decimal Arithmetic Specification, available at <a href="http://speleotrove.com/decimal">http://speleotrove.com/decimal</a></p>
<p>NOTE: This is a C-compatible API; C++ users should build against <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">numberformatter.h</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uformatter</td><td>A formatter object created by unumf_openForSkeletonAndLocale or similar. </td></tr>
    <tr><td class="paramname">value</td><td>The numeric string to be formatted. </td></tr>
    <tr><td class="paramname">valueLen</td><td>The length of the numeric string, or -1 if it is NUL-terminated. </td></tr>
    <tr><td class="paramname">uresult</td><td>The object that will be mutated to store the result; see unumf_openResult. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006724">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="a54193ed406316485803e3dac3a96615f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54193ed406316485803e3dac3a96615f">&#9670;&nbsp;</a></span>unumf_formatDouble()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void unumf_formatDouble </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *&#160;</td>
          <td class="paramname"><em>uformatter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *&#160;</td>
          <td class="paramname"><em>uresult</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Uses a UNumberFormatter to format a double to a UFormattedNumber. </p>
<p>A string, field position, and other information can be retrieved from the UFormattedNumber.</p>
<p>The UNumberFormatter can be shared between threads. Each thread should have its own local UFormattedNumber, however, for storing the result of the formatting operation.</p>
<p>NOTE: This is a C-compatible API; C++ users should build against <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">numberformatter.h</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uformatter</td><td>A formatter object created by unumf_openForSkeletonAndLocale or similar. </td></tr>
    <tr><td class="paramname">value</td><td>The number to be formatted. </td></tr>
    <tr><td class="paramname">uresult</td><td>The object that will be mutated to store the result; see unumf_openResult. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006723">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="a69a79cf493b3bc508c613c6bf216f3b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69a79cf493b3bc508c613c6bf216f3b7">&#9670;&nbsp;</a></span>unumf_formatInt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> void unumf_formatInt </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a> *&#160;</td>
          <td class="paramname"><em>uformatter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *&#160;</td>
          <td class="paramname"><em>uresult</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Uses a UNumberFormatter to format an integer to a UFormattedNumber. </p>
<p>A string, field position, and other information can be retrieved from the UFormattedNumber.</p>
<p>The UNumberFormatter can be shared between threads. Each thread should have its own local UFormattedNumber, however, for storing the result of the formatting operation.</p>
<p>NOTE: This is a C-compatible API; C++ users should build against <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">numberformatter.h</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uformatter</td><td>A formatter object created by unumf_openForSkeletonAndLocale or similar. </td></tr>
    <tr><td class="paramname">value</td><td>The number to be formatted. </td></tr>
    <tr><td class="paramname">uresult</td><td>The object that will be mutated to store the result; see unumf_openResult. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006722">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="adfb3d31c54a8baf5c376e45b32c82fd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adfb3d31c54a8baf5c376e45b32c82fd4">&#9670;&nbsp;</a></span>unumf_openForSkeletonAndLocale()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a>* unumf_openForSkeletonAndLocale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>skeleton</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>skeletonLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new UNumberFormatter for the given skeleton string and locale. </p>
<p>This is currently the only method for creating a new UNumberFormatter.</p>
<p>Objects of type UNumberFormatter returned by this method are threadsafe.</p>
<p>For more details on skeleton strings, see the documentation in <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">numberformatter.h</a>. For more details on the usage of this API, see the documentation at the top of <a class="el" href="unumberformatter_8h.html" title="C API: Localized number formatting; not recommended for C++.">unumberformatter.h</a>.</p>
<p>For more information on number skeleton strings, see: <a href="https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html">https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html</a></p>
<p>NOTE: This is a C-compatible API; C++ users should build against <a class="el" href="numberformatter_8h.html" title="C++ API: All-in-one formatter for localized numbers, currencies, and units.">numberformatter.h</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">skeleton</td><td>The skeleton string, like u"percent precision-integer" </td></tr>
    <tr><td class="paramname">skeletonLen</td><td>The number of UChars in the skeleton string, or -1 if it is NUL-terminated. </td></tr>
    <tr><td class="paramname">locale</td><td>The NUL-terminated locale ID. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006720">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="a3cc5e657b62db668d174aaf414bd9b73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3cc5e657b62db668d174aaf414bd9b73">&#9670;&nbsp;</a></span>unumf_openForSkeletonAndLocaleWithError()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <a class="el" href="unumberformatter_8h.html#a7c1238b2dd08f32f1ea245ece41e71bd">UNumberFormatter</a>* unumf_openForSkeletonAndLocaleWithError </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>skeleton</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>skeletonLen</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structUParseError.html">UParseError</a> *&#160;</td>
          <td class="paramname"><em>perror</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Like unumf_openForSkeletonAndLocale, but accepts a <a class="el" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a>, which will be populated with the location of a skeleton syntax error if such a syntax error exists. </p>
<p>For more information on number skeleton strings, see: <a href="https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html">https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">skeleton</td><td>The skeleton string, like u"percent precision-integer" </td></tr>
    <tr><td class="paramname">skeletonLen</td><td>The number of UChars in the skeleton string, or -1 if it is NUL-terminated. </td></tr>
    <tr><td class="paramname">locale</td><td>The NUL-terminated locale ID. </td></tr>
    <tr><td class="paramname">perror</td><td>A parse error struct populated if an error occurs when parsing. Can be NULL. If no error occurs, perror-&gt;offset will be set to -1. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006721">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
© 2026 GrazzMean
Beegazpacho


Let’s  Start  Your  Online  Journey  with  Beegazpacho 

Welcome to Beegazpacho,
where creativity meets strategy,
and innovation drives success.


Contact
Now


OUR CLIENTS

WhatsApp-Image-2021-12-06.png
Untitled-design-11.png
niaf-logo.png
20220406-163308-scaled.jpg
karchi-logo.png
20220405-171252.png
20220405-171309.png
20220321-161603.png
20220321-161611.png
20220321-161628.png
20220321-161244.png
20220321-161256.png
20220321-161450.png
20220321-161205.png
20220226-170222.png
20220321-161051.png
20211202-170852.png
Untitled-design-9
pidilite-png-logo-colour
logo-black-e1706125740216-qisosldqhzgcaerhdt6n4t3m4s50jr0iik48z0h5vk
Fraikin-Dayim-logo-1
hpcl-logo-2-1
services

Transforming Ideas into
Success

.01
Digital Marketing

We drive growth through data-driven strategies and cutting-edge techniques.

Learn More

.02
SEO

Improve your online visibility and rank higher on search engines with our expert SEO services.

Learn More

.03
Website Designing

We design websites that are not only visually stunning but also user-centric, ensuring seamless navigation and enhanced user experience.

Learn More

.04
App Development

Our apps are crafted to be intuitive, engaging, and functional, providing your users with an exceptional mobile experience.

Learn More

.05
Social Media Ads

Target the right audience with precision and creativity to maximize engagement and conversions.

Learn More

.06
Google Ads

Maximize ROI with precision-targeted campaigns on Google’s powerful ad platform.

Learn More

.07
Google My Business

Optimize your local presence with strategies that put your business on the map and attract more customers.

Learn More

.08
Graphic Designing

Our designs tell your brand’s story in a visually compelling way.

Learn More

.09
3D Videos

Bring your product to life with immersive and dynamic 3D explainer videos.

Learn More

about BEEGAZPACHO

creating special Things
For special brands

Join the ranks of successful brands by partnering with Beegazpacho

00+

Happy Customer

00+

Continents

Our vision is not just to be a service provider but to be your partner in growth. We see ourselves as an extension of your team, working tirelessly to ensure that your brand not only meets its goals but surpasses them.

Explore
more

Our Recent Work

Crafted with Passion and Precision

Connect now


Web Design
Design, Development & Identity

Logo Design
Design, Development & Identity

Creative Brand design
Design, Development & Identity

Product Design Marketing
Design, Development & Identity

DIGITAL MARKETING
SEO
WEBSITE DESIGNING
APP DEVELOPMENT
SOCIAL MEDIA ADS
GOOGLE ADS
GOOGLE MY BUSINESS
GRAPHIC DESINING
3D VIDEOS
Client Stories

Hear It from Those Who Know Us Best

Our clients’ success stories speak volumes about our commitment to excellence. Don’t just take our word for it—hear directly from the brands we’ve partnered with. Their testimonials highlight our ability to bring visions to life and create a lasting impact on their businesses.

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors