gcd() Function

Returns the greatest common denominator of the specified non-negative number(s), which is the largest number that divides all the given numbers without a remainder.

Syntax

gcd( number, … )

number: (Decimal Array) The list of non-negative numbers.

Returns

Decimal

Examples

You can experiment with this function in the test box below.

Test Input

gcd(4,12,36) returns 4

FEEDBACK