[]
        
(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)
Public Shared Function CalculateGreatestCommonDivisor(oneNumber As Integer, anotherNumber As Integer) As Integer
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.