# FarPoint.Win.SuperEdit.GeneralFormatter.GetLeftDigitGroup

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_SuperEdit_GeneralFormatter_GetLeftDigitGroup_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.GetLeftDigitGroup*">GetLeftDigitGroup Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_SuperEdit_GeneralFormatter_GetLeftDigitGroup_" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.GetLeftDigitGroup*"></a>
<h4 id="FarPoint_Win_SuperEdit_GeneralFormatter_GetLeftDigitGroup_System_String_System_Int32_System_Int32_System_Int32_System_Char_System_Int32_System_Int32__" data-uid="FarPoint.Win.SuperEdit.GeneralFormatter.GetLeftDigitGroup(System.String,System.Int32,System.Int32,System.Int32,System.Char,System.Int32,System.Int32@)">GetLeftDigitGroup(string, int, int, int, char, int, out int)</h4>
<div class="markdown level1 summary"><p>Returns the indexes (start and end) of the group of numbers at the
left side of the decimal point</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual bool GetLeftDigitGroup(string szText, int iTextLen, int iDecimalPlace, int iScientificNotation, char cThousandChar, int iNumOfDigitsBetweenSeperators, out int iRetFirstDigit)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetLeftDigitGroup(szText As String, iTextLen As Integer, iDecimalPlace As Integer, iScientificNotation As Integer, cThousandChar As Char, iNumOfDigitsBetweenSeperators As Integer, ByRef iRetFirstDigit As Integer) As Boolean</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">szText</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">iTextLen</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">iDecimalPlace</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">iScientificNotation</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><span class="parametername">cThousandChar</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">iNumOfDigitsBetweenSeperators</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">iRetFirstDigit</span></td>
      <td></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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true if placement is OK (or no thousand seperators found); false otherwise</p>
</td>
    </tr>
  </tbody>
</table>
</div>
