ComponentOne MultiSelect for WinForms
C1.Framework.Mathematics Namespace / Math Class / CalculateGreatestCommonDivisor Method
An int indicate the one number.
An int indicate another number.

In This Topic
    CalculateGreatestCommonDivisor Method
    In This Topic
    Calculate the Greatest Common Divisor of oneNumber and anotherNumber.
    Syntax
    'Declaration
     
    
    Public Shared Function CalculateGreatestCommonDivisor( _
       ByVal oneNumber As Integer, _
       ByVal anotherNumber As Integer _
    ) As Integer
    public static int CalculateGreatestCommonDivisor( 
       int oneNumber,
       int anotherNumber
    )

    Parameters

    oneNumber
    An int indicate the one number.
    anotherNumber
    An int indicate another number.

    Return Value

    An int indicate the Greatest Common Divisor.
    See Also