Math387.Gcd Method

Int32 Gcd(Int32 X, Int32 Y)

Greatest common divisor.

#NameTypeDescription
1XInt32
2YInt32

Returns: Int32 - the greatest common divisor of X and Y. X and Y must be positive integers.

See Also: Math387.Lcm