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:

ArgumentDescription
number1/2/nUp 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

Host ONLYOFFICE Docs on your own server or use it in the cloud

Article with the tag:
Browse all tags