GCD Function

The GCD function is one of the math and trigonometry functions. It is used to return the greatest common divisor of two or more numbers.

Syntax

GCD(number1, [number2], ...)

The GCD function has the following arguments:

Argument Description
number1/2/n Up to 255 numeric values for which you want to get the greatest common divisor.

Notes

How to apply the GCD function.

Examples

The figure below displays the result returned by the GCD function.

GCD Function