# C1.Win.Ribbon.RibbonNumberFormat

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_Ribbon_RibbonNumberFormat" data-uid="C1.Win.Ribbon.RibbonNumberFormat" class="text-break">RibbonNumberFormat Enum
</h1>
  <div class="markdown level0 summary"><p>Selects a standard format pattern for the <a class="xref" href="C1.Win.Ribbon.RibbonNumericBox.html">RibbonNumericBox</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_RibbonNumberFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum RibbonNumberFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum RibbonNumberFormat</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Currency">Currency</td>
        <td><p>The number is converted to a string that represents a currency amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Custom">Custom</td>
        <td><p>The number is converted to a string using the custom format pattern.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Decimal">Decimal</td>
        <td><p>The number is converted to a string of decimal digits (0-9), prefixed by a minus sign if the number is negative.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_FixedPoint">FixedPoint</td>
        <td><p>The number is converted to a string of the form &quot;-ddddd.ddd…&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_General">General</td>
        <td><p>The number is converted to the most compact of either fixed-point or scientific notation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Hexadecimal">Hexadecimal</td>
        <td><p>The number is converted to a string of hexadecimal digits.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Number">Number</td>
        <td><p>The number is converted to a string of the form &quot;-d,ddd,ddd.ddddd…&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Percent">Percent</td>
        <td><p>The number is converted to a string that represents a percent.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonNumberFormat_Scientific">Scientific</td>
        <td><p>The number is converted to exponential format, such as &quot;-1.234e+15&quot;.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
