GCD

Syntax:

GCD ( argument-list )

Description: Computes the greatest common divisor of the one or more numbers, designated by arguments in argument-list.

Arguments:

Name

Type

Description

argument-list

numbers

The arguments in argument-list designate the values. Each argument is truncated to an integer.

Return Type and Value: number – The greatest common divisor of one or more numbers.

However, if any argument is negative, #NUM! is returned.

example: