[]
This function returns the greatest common divisor of two numbers.
GCD(number1, [number2], ...)
This function has these arguments:
Argument | Description |
|---|---|
number1, number2, ... | Number1 is required, subsequent numbers are optional. 1 to 255 values. If any value is not an integer, it is truncated. |
The greatest common divisor is the largest integer that divides both numbers without a remainder.
GCD(B5,G7)
GCD(R5C2,R7C7)
GCD(3348,972) gives the result 108
GCD(12.8,16.3) gives the result 4