# GrapeCity.Spreadsheet.NumberFormat.GetFormatter

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_NumberFormat_GetFormatter_" data-uid="GrapeCity.Spreadsheet.NumberFormat.GetFormatter*">GetFormatter Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_NumberFormat_GetFormatter_" data-uid="GrapeCity.Spreadsheet.NumberFormat.GetFormatter*"></a>
<h4 id="GrapeCity_Spreadsheet_NumberFormat_GetFormatter_GrapeCity_Spreadsheet_IWorkbook_System_Globalization_CultureInfo_" data-uid="GrapeCity.Spreadsheet.NumberFormat.GetFormatter(GrapeCity.Spreadsheet.IWorkbook,System.Globalization.CultureInfo)">GetFormatter(IWorkbook, CultureInfo)</h4>
<div class="markdown level1 summary"><p>Gets the formatter which represents the behavior of this <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.html">NumberFormat</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public IFormatter GetFormatter(IWorkbook workbook, CultureInfo culture)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetFormatter(workbook As IWorkbook, culture As CultureInfo) As IFormatter</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.IWorkbook.html">IWorkbook</a></td>
      <td><span class="parametername">workbook</span></td>
      <td><p>The workook that defines the number format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a></td>
      <td><span class="parametername">culture</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a> object that supplies culture-specific formatting information.</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="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a></td>
      <td><p>An <a class="xref" href="GrapeCity.Spreadsheet.IFormatter.html">IFormatter</a> object represents the formatter.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
