# GrapeCity.Spreadsheet.BuiltInNumberFormats.GetIncreaseDecimalCode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_BuiltInNumberFormats_GetIncreaseDecimalCode_" data-uid="GrapeCity.Spreadsheet.BuiltInNumberFormats.GetIncreaseDecimalCode*">GetIncreaseDecimalCode Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_BuiltInNumberFormats_GetIncreaseDecimalCode_" data-uid="GrapeCity.Spreadsheet.BuiltInNumberFormats.GetIncreaseDecimalCode*"></a>
<h4 id="GrapeCity_Spreadsheet_BuiltInNumberFormats_GetIncreaseDecimalCode_GrapeCity_Spreadsheet_NumberFormat_GrapeCity_Spreadsheet_IWorkbook_System_Boolean_System_Int32_" data-uid="GrapeCity.Spreadsheet.BuiltInNumberFormats.GetIncreaseDecimalCode(GrapeCity.Spreadsheet.NumberFormat,GrapeCity.Spreadsheet.IWorkbook,System.Boolean,System.Int32)">GetIncreaseDecimalCode(NumberFormat, IWorkbook, bool, int)</h4>
<div class="markdown level1 summary"><p>Get Incraise/Decraise decimal code from specify number format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static string GetIncreaseDecimalCode(NumberFormat numberFormat, IWorkbook workbook, bool incraise, int count = 1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function GetIncreaseDecimalCode(numberFormat As NumberFormat, workbook As IWorkbook, incraise As Boolean, Optional count As Integer = 1) As String</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.html">NumberFormat</a></td>
      <td><span class="parametername">numberFormat</span></td>
      <td><p>Number format</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a></td>
      <td><span class="parametername">workbook</span></td>
      <td><p>Workbook which store number format</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">incraise</span></td>
      <td><p><code>true</code> to increase decimal decreases for otherwise.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">count</span></td>
      <td><p>Incraise/Decraise count</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><p><code>null</code> if the code is not modified; otherwise, the new adjusted code.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
