# GrapeCity.CalcEngine.FormattedCellValue

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_CalcEngine_FormattedCellValue" data-uid="GrapeCity.CalcEngine.FormattedCellValue" class="text-break">FormattedCellValue Class
</h1>
  <div class="markdown level0 summary"><p>Represents the value of a cell with a format string.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">FormattedCellValue</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IFormattedCellValue2.html">IFormattedCellValue2</a></div>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IFormattedCellValue.html">IFormattedCellValue</a></div>
    <div><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.IReadonlyPrimitiveValue.html">IReadonlyPrimitiveValue</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.CalcEngine.html">GrapeCity.CalcEngine</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_CalcEngine_FormattedCellValue_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class FormattedCellValue : IFormattedCellValue2, IFormattedCellValue, IReadonlyPrimitiveValue</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class FormattedCellValue
    Implements IFormattedCellValue2, IFormattedCellValue, IReadonlyPrimitiveValue</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_BasicValue" data-uid="GrapeCity.CalcEngine.FormattedCellValue.BasicValue">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.BasicValue.html#GrapeCity_CalcEngine_FormattedCellValue_BasicValue">BasicValue</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the original value of this cell value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_Format" data-uid="GrapeCity.CalcEngine.FormattedCellValue.Format">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.Format.html#GrapeCity_CalcEngine_FormattedCellValue_Format">Format</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number format string that is used to format this value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_Formatter" data-uid="GrapeCity.CalcEngine.FormattedCellValue.Formatter">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.Formatter.html#GrapeCity_CalcEngine_FormattedCellValue_Formatter">Formatter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the formatter which is used to format this value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_ValueType" data-uid="GrapeCity.CalcEngine.FormattedCellValue.ValueType">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.ValueType.html#GrapeCity_CalcEngine_FormattedCellValue_ValueType">ValueType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value type of this <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.html">FormattedCellValue</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_Create_GrapeCity_Spreadsheet_IWorkbook_System_Object_System_String_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.Create(GrapeCity.Spreadsheet.IWorkbook,System.Object,System.String)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.Create.html#GrapeCity_CalcEngine_FormattedCellValue_Create_GrapeCity_Spreadsheet_IWorkbook_System_Object_System_String_">Create(IWorkbook, object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a cell value that contains both of value and number format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetDate_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetDate(GrapeCity.CalcEngine.IEvaluationContext,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetDate.html#GrapeCity_CalcEngine_FormattedCellValue_GetDate_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_">GetDate(IEvaluationContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetError_GrapeCity_CalcEngine_IEvaluationContext_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetError(GrapeCity.CalcEngine.IEvaluationContext)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetError.html#GrapeCity_CalcEngine_FormattedCellValue_GetError_GrapeCity_CalcEngine_IEvaluationContext_">GetError(IEvaluationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.CalcError.html">CalcError</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetLogical_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetLogical(GrapeCity.CalcEngine.IEvaluationContext,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetLogical.html#GrapeCity_CalcEngine_FormattedCellValue_GetLogical_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_">GetLogical(IEvaluationContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetNumber_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetNumber(GrapeCity.CalcEngine.IEvaluationContext,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetNumber.html#GrapeCity_CalcEngine_FormattedCellValue_GetNumber_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_">GetNumber(IEvaluationContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetObject_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetObject(GrapeCity.CalcEngine.IEvaluationContext,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetObject.html#GrapeCity_CalcEngine_FormattedCellValue_GetObject_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_">GetObject(IEvaluationContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetText_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetText(GrapeCity.CalcEngine.IEvaluationContext,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetText.html#GrapeCity_CalcEngine_FormattedCellValue_GetText_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_">GetText(IEvaluationContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_CalcEngine_FormattedCellValue_GetTime_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_" data-uid="GrapeCity.CalcEngine.FormattedCellValue.GetTime(GrapeCity.CalcEngine.IEvaluationContext,System.Boolean)">
          <a class="xref" href="GrapeCity.CalcEngine.FormattedCellValue.GetTime.html#GrapeCity_CalcEngine_FormattedCellValue_GetTime_GrapeCity_CalcEngine_IEvaluationContext_System_Boolean_">GetTime(IEvaluationContext, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
