Your Airkit journey starts here

GCD

Returns the greatest common divisor of two or more numbers.

Declaration

GCD(list_of_numbers) -> number

Parameters

list_of_numbers
array -A list of numbers to compute the greatest common divisor for.

Return Values

number
number -The greatest common divisor