# GCD

## Content

This function returns the greatest common divisor of two numbers.

## Syntax

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

## Arguments

<span data-teams="true">This function has these arguments:</span>

| <span data-teams="true">Argument</span> | <span data-teams="true">Description</span> |
| -------- | ----------- |
| *<span data-teams="true">number1, number2, ...</span>* | Number1 is required, subsequent numbers are optional. 1 to 255 values. If any value is not an integer, it is truncated. |

## Remarks

The greatest common divisor is the largest integer that divides both numbers without a remainder.

## Examples

`GCD(B5,G7)`
`GCD(R5C2,R7C7)`
`GCD(3348,972)` gives the result 108 
`GCD(12.8,16.3)` gives the result 4