[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Math.CalculateGreatestCommonDivisor

CalculateGreatestCommonDivisor Method

CalculateGreatestCommonDivisor(int, int)

Calculate the Greatest Common Divisor of oneNumber and anotherNumber.

Declaration
public static int CalculateGreatestCommonDivisor(int oneNumber, int anotherNumber)
Parameters
Type Name Description
int oneNumber

An int indicate the one number.

int anotherNumber

An int indicate another number.

Returns
Type Description
int

An int indicate the Greatest Common Divisor.