# GrapeCity.SpreadBuilder.FormatConverter.GetExcelFormatAndValue

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_SpreadBuilder_FormatConverter_GetExcelFormatAndValue_" data-uid="GrapeCity.SpreadBuilder.FormatConverter.GetExcelFormatAndValue*">GetExcelFormatAndValue Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_FormatConverter_GetExcelFormatAndValue_" data-uid="GrapeCity.SpreadBuilder.FormatConverter.GetExcelFormatAndValue*"></a>
<h4 id="GrapeCity_SpreadBuilder_FormatConverter_GetExcelFormatAndValue_System_String_System_Int32_System_Int32_System_Object_System_String_System_String__System_Object__" data-uid="GrapeCity.SpreadBuilder.FormatConverter.GetExcelFormatAndValue(System.String,System.Int32,System.Int32,System.Object,System.String,System.String@,System.Object@)">GetExcelFormatAndValue(string, int, int, object, string, out string, out object)</h4>
<div class="markdown level1 summary"><p>Convert AR OutputFormat and Value to Excel NumberFormat and Value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void GetExcelFormatAndValue(string outputFormat, int cultureId, int currencyCultureId, object value, string outputText, out string excelFormat, out object excelValue)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">outputFormat</span></td>
      <td><p>AR OutputFormat</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">cultureId</span></td>
      <td><p>The culture id used in format</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">currencyCultureId</span></td>
      <td><p>The currency culture id used in format</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>AR Value</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">outputText</span></td>
      <td><p>AR formatted text</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">excelFormat</span></td>
      <td><p>Output converted Excel NumberFormat string</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">excelValue</span></td>
      <td><p>Output converted Excel Value</p>
</td>
    </tr>
  </tbody>
</table>
</div>
