# C1.Framework.Mathematics.Math

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Mathematics_Math" data-uid="C1.Framework.Mathematics.Math" class="text-break">Math Class
</h1>
  <div class="markdown level0 summary"><p>Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.</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">Math</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Mathematics.html">C1.Framework.Mathematics</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Mathematics_Math_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class Math</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module Math</code></pre>
  </div>
  <h5 id="C1_Framework_Mathematics_Math_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This class is used to reinforce the function of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.math">Math</a></p>
</div>
  <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="C1_Framework_Mathematics_Math_CalculateGreatestCommonDivisor_System_Int32_System_Int32_" data-uid="C1.Framework.Mathematics.Math.CalculateGreatestCommonDivisor(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Math.CalculateGreatestCommonDivisor.html#C1_Framework_Mathematics_Math_CalculateGreatestCommonDivisor_System_Int32_System_Int32_">CalculateGreatestCommonDivisor(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculate the Greatest Common Divisor of <code>oneNumber</code> and <code>anotherNumber</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Math_CalculateLeaseCommonMultiple_System_Int32_System_Int32_" data-uid="C1.Framework.Mathematics.Math.CalculateLeaseCommonMultiple(System.Int32,System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Math.CalculateLeaseCommonMultiple.html#C1_Framework_Mathematics_Math_CalculateLeaseCommonMultiple_System_Int32_System_Int32_">CalculateLeaseCommonMultiple(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculate the Lease Common Multiple of <code>oneNumber</code> and <code>anotherNumber</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Math_PercentageAbsoluteToRelative_System_Double_" data-uid="C1.Framework.Mathematics.Math.PercentageAbsoluteToRelative(System.Double)">
          <a class="xref" href="C1.Framework.Mathematics.Math.PercentageAbsoluteToRelative.html#C1_Framework_Mathematics_Math_PercentageAbsoluteToRelative_System_Double_">PercentageAbsoluteToRelative(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Convertes the relative percentage to absolute percentage.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Math_PercentageRelativeToAbsolute_System_Double_" data-uid="C1.Framework.Mathematics.Math.PercentageRelativeToAbsolute(System.Double)">
          <a class="xref" href="C1.Framework.Mathematics.Math.PercentageRelativeToAbsolute.html#C1_Framework_Mathematics_Math_PercentageRelativeToAbsolute_System_Double_">PercentageRelativeToAbsolute(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Convertes the relative percentage to absolute percentage.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Math_Round_System_Decimal_System_Int32_" data-uid="C1.Framework.Mathematics.Math.Round(System.Decimal,System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Math.Round.html#C1_Framework_Mathematics_Math_Round_System_Decimal_System_Int32_">Round(decimal, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number nearest the specified value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Math_Round_System_Double_" data-uid="C1.Framework.Mathematics.Math.Round(System.Double)">
          <a class="xref" href="C1.Framework.Mathematics.Math.Round.html#C1_Framework_Mathematics_Math_Round_System_Double_">Round(double)</a>
        </td>
        <td class="markdown level1 summary"><p>To make a round mathematic operation for double type number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Math_Round_System_Single_" data-uid="C1.Framework.Mathematics.Math.Round(System.Single)">
          <a class="xref" href="C1.Framework.Mathematics.Math.Round.html#C1_Framework_Mathematics_Math_Round_System_Single_">Round(float)</a>
        </td>
        <td class="markdown level1 summary"><p>To make a round mathematic operation for float type number</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
