[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Math

Math Class

Provides constants and static methods for trigonometric, logarithmic, and other common mathematical functions.

Inheritance
Math
Namespace: C1.Framework.Mathematics
Assembly: C1.Win.Input.8.dll
Syntax
public static class Math
Remarks

This class is used to reinforce the function of Math

Methods

Name Description
CalculateGreatestCommonDivisor(int, int)

Calculate the Greatest Common Divisor of oneNumber and anotherNumber.

CalculateLeaseCommonMultiple(int, int)

Calculate the Lease Common Multiple of oneNumber and anotherNumber.

PercentageAbsoluteToRelative(double)

Convertes the relative percentage to absolute percentage.

PercentageRelativeToAbsolute(double)

Convertes the relative percentage to absolute percentage.

Round(decimal, int)

Returns the number nearest the specified value.

Round(double)

To make a round mathematic operation for double type number.

Round(float)

To make a round mathematic operation for float type number