GCD

GCD the greatest common divisor

Synopsis

GCD(n0,n1,…)

Arguments

n0: positive integer

n1: positive integer

Description

GCD calculates the greatest common divisor of the given numbers n0,n1,..., the greatest integer that is a divisor of each argument.

Note

If any of the arguments is not an integer, it is truncated.

Microsoft Excel Compatibility

This function is Excel compatible.

See also

LCM.