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: 93.127.173.205
Your Ip: 216.73.216.168
User: u848900432 (848900432) | Group: o51372345 (1051372345)
Safe Mode: OFF
Disable Function:
NONE

name : uformattednumber_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/uformattednumber.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="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">uformattednumber.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Formatted number result from various number formatting functions.  
<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="ufieldpositer_8h_source.html">unicode/ufieldpositer.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="uformattedvalue_8h_source.html">unicode/uformattedvalue.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="umisc_8h_source.html">unicode/umisc.h</a>&quot;</code><br />
</div>
<p><a href="uformattednumber_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:a9d4030bdc4dd1ec4de828bf1bcf4b1b6"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a></td></tr>
<tr class="memdesc:a9d4030bdc4dd1ec4de828bf1bcf4b1b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">C-compatible version of <a class="el" href="classicu_1_1number_1_1FormattedNumber.html" title="The result of a number formatting operation.">icu::number::FormattedNumber</a>.  <a href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">More...</a><br /></td></tr>
<tr class="separator:a9d4030bdc4dd1ec4de828bf1bcf4b1b6"><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:aa9ff28f7feeda88f28f884308303086f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uformattednumber_8h.html#aa9ff28f7feeda88f28f884308303086f">unumf_openResult</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:aa9ff28f7feeda88f28f884308303086f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an object to hold the result of a UNumberFormatter operation.  <a href="uformattednumber_8h.html#aa9ff28f7feeda88f28f884308303086f">More...</a><br /></td></tr>
<tr class="separator:aa9ff28f7feeda88f28f884308303086f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c7b5bb3f964a19f788ae4938d4067aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> const <a class="el" href="uformattedvalue_8h.html#af64a1850f6a746a6130aa79ae7fed97f">UFormattedValue</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uformattednumber_8h.html#a1c7b5bb3f964a19f788ae4938d4067aa">unumf_resultAsValue</a> (const <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:a1c7b5bb3f964a19f788ae4938d4067aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a representation of a UFormattedNumber as a UFormattedValue, which can be subsequently passed to any API requiring that type.  <a href="uformattednumber_8h.html#a1c7b5bb3f964a19f788ae4938d4067aa">More...</a><br /></td></tr>
<tr class="separator:a1c7b5bb3f964a19f788ae4938d4067aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba145957d66cd7c5d1b5bb8ba9373bf3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uformattednumber_8h.html#aba145957d66cd7c5d1b5bb8ba9373bf3">unumf_resultToString</a> (const <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *buffer, int32_t bufferCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:aba145957d66cd7c5d1b5bb8ba9373bf3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the result number string out of a UFormattedNumber to a UChar buffer if possible.  <a href="uformattednumber_8h.html#aba145957d66cd7c5d1b5bb8ba9373bf3">More...</a><br /></td></tr>
<tr class="separator:aba145957d66cd7c5d1b5bb8ba9373bf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada28ff555752eca3a338d83d6c8e13f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uformattednumber_8h.html#ada28ff555752eca3a338d83d6c8e13f2">unumf_resultNextFieldPosition</a> (const <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, <a class="el" href="structUFieldPosition.html">UFieldPosition</a> *ufpos, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:ada28ff555752eca3a338d83d6c8e13f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines the start and end indices of the next occurrence of the given <em>field</em> in the output string.  <a href="uformattednumber_8h.html#ada28ff555752eca3a338d83d6c8e13f2">More...</a><br /></td></tr>
<tr class="separator:ada28ff555752eca3a338d83d6c8e13f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af943d5997bfa87705de3070b91691892"><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="uformattednumber_8h.html#af943d5997bfa87705de3070b91691892">unumf_resultGetAllFieldPositions</a> (const <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, <a class="el" href="ufieldpositer_8h.html#ae6dcb81a72e2304609d93ad389c16d19">UFieldPositionIterator</a> *ufpositer, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:af943d5997bfa87705de3070b91691892"><td class="mdescLeft">&#160;</td><td class="mdescRight">Populates the given iterator with all fields in the formatted output string.  <a href="uformattednumber_8h.html#af943d5997bfa87705de3070b91691892">More...</a><br /></td></tr>
<tr class="separator:af943d5997bfa87705de3070b91691892"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa2bbd8847dc6e6b704087418beb401e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="uformattednumber_8h.html#aaa2bbd8847dc6e6b704087418beb401e">unumf_resultToDecimalNumber</a> (const <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult, char *dest, int32_t destCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:aaa2bbd8847dc6e6b704087418beb401e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the formatted number as a "numeric string" conforming to the syntax defined in the Decimal Arithmetic Specification, available at <a href="http://speleotrove.com/decimal">http://speleotrove.com/decimal</a>.  <a href="uformattednumber_8h.html#aaa2bbd8847dc6e6b704087418beb401e">More...</a><br /></td></tr>
<tr class="separator:aaa2bbd8847dc6e6b704087418beb401e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48f535cfb359176bf47e69498a8ac0a9"><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="uformattednumber_8h.html#a48f535cfb359176bf47e69498a8ac0a9">unumf_closeResult</a> (<a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> *uresult)</td></tr>
<tr class="memdesc:a48f535cfb359176bf47e69498a8ac0a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases the UFormattedNumber created by <a class="el" href="uformattednumber_8h.html#aa9ff28f7feeda88f28f884308303086f" title="Creates an object to hold the result of a UNumberFormatter operation.">unumf_openResult()</a>.  <a href="uformattednumber_8h.html#a48f535cfb359176bf47e69498a8ac0a9">More...</a><br /></td></tr>
<tr class="separator:a48f535cfb359176bf47e69498a8ac0a9"><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: Formatted number result from various number formatting functions. </p>
<p>Create a <code>UFormattedNumber</code> to hold the result of a number formatting operation. The same <code>UFormattedNumber</code> can be reused multiple times.</p>
<pre>
<a class="el" href="classLocalUFormattedNumberPointer.html" title="&quot;Smart pointer&quot; class; closes a UFormattedNumber via unumf_closeResult().">LocalUFormattedNumberPointer</a> uresult(unumf_openResult(status));

// pass uresult.getAlias() to your number formatter

int32_t length;
const UChar* s = ufmtval_getString(unumf_resultAsValue(uresult.getAlias(), status), &amp;length, status));

// The string result is in `s` with the given `length` (it is also NUL-terminated).
</pre> 
<p class="definition">Definition in file <a class="el" href="uformattednumber_8h_source.html">uformattednumber.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a9d4030bdc4dd1ec4de828bf1bcf4b1b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">&#9670;&nbsp;</a></span>UFormattedNumber</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a> <a class="el" href="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>C-compatible version of <a class="el" href="classicu_1_1number_1_1FormattedNumber.html" title="The result of a number formatting operation.">icu::number::FormattedNumber</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#_stable006481">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

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

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a48f535cfb359176bf47e69498a8ac0a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48f535cfb359176bf47e69498a8ac0a9">&#9670;&nbsp;</a></span>unumf_closeResult()</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_closeResult </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><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Releases the UFormattedNumber created by <a class="el" href="uformattednumber_8h.html#aa9ff28f7feeda88f28f884308303086f" title="Creates an object to hold the result of a UNumberFormatter operation.">unumf_openResult()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uresult</td><td>An object created by <a class="el" href="uformattednumber_8h.html#aa9ff28f7feeda88f28f884308303086f" title="Creates an object to hold the result of a UNumberFormatter operation.">unumf_openResult()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006488">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="aa9ff28f7feeda88f28f884308303086f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9ff28f7feeda88f28f884308303086f">&#9670;&nbsp;</a></span>unumf_openResult()</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="uformattednumber_8h.html#a9d4030bdc4dd1ec4de828bf1bcf4b1b6">UFormattedNumber</a>* unumf_openResult </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an object to hold the result of a UNumberFormatter operation. </p>
<p>The object can be used repeatedly; it is cleared whenever passed to a format function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <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#_stable006482">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="a1c7b5bb3f964a19f788ae4938d4067aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c7b5bb3f964a19f788ae4938d4067aa">&#9670;&nbsp;</a></span>unumf_resultAsValue()</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> const <a class="el" href="uformattedvalue_8h.html#af64a1850f6a746a6130aa79ae7fed97f">UFormattedValue</a>* unumf_resultAsValue </td>
          <td>(</td>
          <td class="paramtype">const <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>Returns a representation of a UFormattedNumber as a UFormattedValue, which can be subsequently passed to any API requiring that type. </p>
<p>The returned object is owned by the UFormattedNumber and is valid only as long as the UFormattedNumber is present and unchanged in memory.</p>
<p>You can think of this method as a cast between types.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uresult</td><td>The object containing the formatted string. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A UFormattedValue owned by the input object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006483">Stable:</a></b></dt><dd>ICU 64 </dd></dl>

</div>
</div>
<a id="af943d5997bfa87705de3070b91691892"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af943d5997bfa87705de3070b91691892">&#9670;&nbsp;</a></span>unumf_resultGetAllFieldPositions()</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_resultGetAllFieldPositions </td>
          <td>(</td>
          <td class="paramtype">const <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="ufieldpositer_8h.html#ae6dcb81a72e2304609d93ad389c16d19">UFieldPositionIterator</a> *&#160;</td>
          <td class="paramname"><em>ufpositer</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>Populates the given iterator with all fields in the formatted output string. </p>
<p>This allows you to determine the locations of the integer part, fraction part, and sign.</p>
<p>This is an alternative to the more powerful <a class="el" href="uformattedvalue_8h.html#adc62e7ad87db65ba86e4b72bfb232906">ufmtval_nextPosition</a> API.</p>
<p>If you need information on only one field, use <a class="el" href="uformattedvalue_8h.html#adc62e7ad87db65ba86e4b72bfb232906">ufmtval_nextPosition</a> or <a class="el" href="uformattednumber_8h.html#ada28ff555752eca3a338d83d6c8e13f2">unumf_resultNextFieldPosition</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uresult</td><td>The object containing the formatted number. </td></tr>
    <tr><td class="paramname">ufpositer</td><td>A pointer to a UFieldPositionIterator created by <a class="el" href="ufieldpositer_8h.html#aaa1d156397c87dcea2d9f87c8308f8f6">ufieldpositer_open</a>. Iteration information already present in the UFieldPositionIterator is deleted, and the iterator is reset to apply to the fields in the formatted string created by this function call. The field values and indexes returned by <a class="el" href="ufieldpositer_8h.html#ad964aa76d2b332e9d3815aea4ce8cf91">ufieldpositer_next</a> represent fields denoted by the UNumberFormatFields enum. Fields are not returned in a guaranteed order. Fields cannot overlap, but they may nest. For example, 1234 could format as "1,234" which might consist of a grouping separator field for ',' and an integer field encompassing the entire string. </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#_stable006486">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="ada28ff555752eca3a338d83d6c8e13f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada28ff555752eca3a338d83d6c8e13f2">&#9670;&nbsp;</a></span>unumf_resultNextFieldPosition()</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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> unumf_resultNextFieldPosition </td>
          <td>(</td>
          <td class="paramtype">const <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="structUFieldPosition.html">UFieldPosition</a> *&#160;</td>
          <td class="paramname"><em>ufpos</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>Determines the start and end indices of the next occurrence of the given <em>field</em> in the output string. </p>
<p>This allows you to determine the locations of, for example, the integer part, fraction part, or symbols.</p>
<p>This is a simpler but less powerful alternative to <a class="el" href="uformattedvalue_8h.html#adc62e7ad87db65ba86e4b72bfb232906">ufmtval_nextPosition</a>.</p>
<p>If a field occurs just once, calling this method will find that occurrence and return it. If a field occurs multiple times, this method may be called repeatedly with the following pattern:</p>
<pre>
<a class="el" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> ufpos = {UNUM_GROUPING_SEPARATOR_FIELD, 0, 0};
while (unumf_resultNextFieldPosition(uresult, ufpos, &amp;ec)) {
  // do something with ufpos.
}
</pre><p>This method is useful if you know which field to query. If you want all available field position information, use <a class="el" href="uformattednumber_8h.html#af943d5997bfa87705de3070b91691892" title="Populates the given iterator with all fields in the formatted output string.">unumf_resultGetAllFieldPositions()</a>.</p>
<p>NOTE: All fields of the <a class="el" href="structUFieldPosition.html" title="A struct representing a range of text containing a specific field.">UFieldPosition</a> must be initialized before calling this method.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uresult</td><td>The object containing the formatted number. </td></tr>
    <tr><td class="paramname">ufpos</td><td>Input+output variable. On input, the "field" property determines which field to look up, and the "endIndex" property determines where to begin the search. On output, the "beginIndex" field is set to the beginning of the first occurrence of the field after the input "endIndex", and "endIndex" is set to the end of that occurrence of the field (exclusive index). If a field position is not found, the FieldPosition is not changed and the method returns false. </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#_stable006485">Stable:</a></b></dt><dd>ICU 62 </dd></dl>

</div>
</div>
<a id="aaa2bbd8847dc6e6b704087418beb401e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa2bbd8847dc6e6b704087418beb401e">&#9670;&nbsp;</a></span>unumf_resultToDecimalNumber()</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> int32_t unumf_resultToDecimalNumber </td>
          <td>(</td>
          <td class="paramtype">const <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">char *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>destCapacity</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>Extracts the formatted number as a "numeric string" conforming to the syntax defined in the Decimal Arithmetic Specification, available at <a href="http://speleotrove.com/decimal">http://speleotrove.com/decimal</a>. </p>
<p>This endpoint is useful for obtaining the exact number being printed after scaling and rounding have been applied by the number formatter.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uresult</td><td>The input object containing the formatted number. </td></tr>
    <tr><td class="paramname">dest</td><td>the 8-bit char buffer into which the decimal number is placed </td></tr>
    <tr><td class="paramname">destCapacity</td><td>The size, in chars, of the destination buffer. May be zero for precomputing the required size. </td></tr>
    <tr><td class="paramname">ec</td><td>receives any error status. If U_BUFFER_OVERFLOW_ERROR: Returns number of chars for preflighting. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of chars in the data. Does not include a trailing NUL. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006487">Stable:</a></b></dt><dd>ICU 68 </dd></dl>

</div>
</div>
<a id="aba145957d66cd7c5d1b5bb8ba9373bf3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba145957d66cd7c5d1b5bb8ba9373bf3">&#9670;&nbsp;</a></span>unumf_resultToString()</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> int32_t unumf_resultToString </td>
          <td>(</td>
          <td class="paramtype">const <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="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>bufferCapacity</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>Extracts the result number string out of a UFormattedNumber to a UChar buffer if possible. </p>
<p>If bufferCapacity is greater than the required length, a terminating NUL is written. If bufferCapacity is less than the required length, an error code is set.</p>
<p>Also see ufmtval_getString, which returns a NUL-terminated string: </p><pre class="fragment">int32_t len;
const UChar* str = ufmtval_getString(unumf_resultAsValue(uresult, &amp;ec), &amp;len, &amp;ec);
</pre><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">uresult</td><td>The object containing the formatted number. </td></tr>
    <tr><td class="paramname">buffer</td><td>Where to save the string output. </td></tr>
    <tr><td class="paramname">bufferCapacity</td><td>The number of UChars available in the buffer. </td></tr>
    <tr><td class="paramname">ec</td><td>Set if an error occurs. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The required length. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable006484">Stable:</a></b></dt><dd>ICU 62 </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