# C1.DataEngine.Converter.ConvertToDouble

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_DataEngine_Converter_ConvertToDouble_" data-uid="C1.DataEngine.Converter.ConvertToDouble*">ConvertToDouble Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_DataEngine_Converter_ConvertToDouble_" data-uid="C1.DataEngine.Converter.ConvertToDouble*"></a>
<h4 id="C1_DataEngine_Converter_ConvertToDouble_System_Type_System_Byte__System_Int64_System_Int32_System_Double___" data-uid="C1.DataEngine.Converter.ConvertToDouble(System.Type,System.Byte*,System.Int64,System.Int32,System.Double[])">ConvertToDouble(Type, byte*, long, int, double[])</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void ConvertToDouble(Type type, byte* ptr, long offset, int count, double[] buf)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub ConvertToDouble(type As Type, ptr As Byte*, offset As Long, count As Integer, buf 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.type">Type</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>*</td>
      <td><span class="parametername">ptr</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
      <td><span class="parametername">offset</span></td>
      <td></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></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>[]</td>
      <td><span class="parametername">buf</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_DataEngine_Converter_ConvertToDouble_" data-uid="C1.DataEngine.Converter.ConvertToDouble*"></a>
<h4 id="C1_DataEngine_Converter_ConvertToDouble_System_Type_System_Byte__System_Int64__System_Int64_System_Int32_System_Double___" data-uid="C1.DataEngine.Converter.ConvertToDouble(System.Type,System.Byte*,System.Int64*,System.Int64,System.Int32,System.Double[])">ConvertToDouble(Type, byte*, long*, long, int, double[])</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static void ConvertToDouble(Type type, byte* ptr, long* filterOids, long offset, int count, double[] buf)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Sub ConvertToDouble(type As Type, ptr As Byte*, filterOids As Long*, offset As Long, count As Integer, buf 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.type">Type</a></td>
      <td><span class="parametername">type</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>*</td>
      <td><span class="parametername">ptr</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a>*</td>
      <td><span class="parametername">filterOids</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int64">long</a></td>
      <td><span class="parametername">offset</span></td>
      <td></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></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>[]</td>
      <td><span class="parametername">buf</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
