klyn.math.Math.gcd
method
public static gcd(left as Int, right as Int) as Int:
Description
Computes the greatest common divisor of one or more integers. The result is always non-negative.
print(Math.gcd(42, 30))
print(Math.gcd(42, 30, 18))