Returns the greatest common divisor of two or more numbers.

Declaration

GCD(list_of_numbers) -> number

Parameters

list_of_numbers (type: array)
A list of numbers to compute the greatest common divisor for.

Return Values

number (type: number)
The greatest common divisor

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.