# FarPoint.Web.Spread.DoubleCellType.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_DoubleCellType__ctor_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor*">DoubleCellType Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_DoubleCellType__ctor_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_DoubleCellType__ctor" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor">DoubleCellType()</h4>
<div class="markdown level1 summary"><p>Creates a new double-precision, floating-point data type cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleCellType()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Web_Spread_DoubleCellType__ctor_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_DoubleCellType__ctor_System_String_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor(System.String)">DoubleCellType(string)</h4>
<div class="markdown level1 summary"><p>Creates a new double-precision, floating-point data type cell with the specified message to display.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleCellType(string errorMessage)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(errorMessage 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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">errorMessage</span></td>
      <td><p>Message to display when the input value is not valid</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_DoubleCellType__ctor_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_DoubleCellType__ctor_System_Double_System_Double_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor(System.Double,System.Double)">DoubleCellType(double, double)</h4>
<div class="markdown level1 summary"><p>Creates a new double-precision, floating-point data type cell
with the minimum value and the maximum value specified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleCellType(double min, double max)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(min As Double, max As Double)</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.double">double</a></td>
      <td><span class="parametername">min</span></td>
      <td><p>Minimum value to allow</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">max</span></td>
      <td><p>Maximum value to allow</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_DoubleCellType__ctor_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_DoubleCellType__ctor_System_Double_System_Double_System_String_" data-uid="FarPoint.Web.Spread.DoubleCellType.#ctor(System.Double,System.Double,System.String)">DoubleCellType(double, double, string)</h4>
<div class="markdown level1 summary"><p>Creates a new double-precision, floating-point data type cell
with the minimum value, the maximum value, and the error message specified.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleCellType(double min, double max, string errorMessage)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(min As Double, max As Double, errorMessage 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="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">min</span></td>
      <td><p>Minimum value to allow</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">max</span></td>
      <td><p>Maximum value to allow</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">errorMessage</span></td>
      <td><p>Message to display when the input value is not within the allowed limits</p>
</td>
    </tr>
  </tbody>
</table>
</div>
