In This Topic
Method that calculates the Greatest Common Divisor (GCD) of two positive integer numbers.
Syntax
'Declaration
Public Overloads Shared Function gcd( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Integer
public static System.int gcd(
System.int ,
System.int
)
Parameters
- x1
- x2
See Also