gcd

Function: Mathematical
Description: Greates common divisor
Usage: Gcd( val1 , val2 [ , val3...] )

Details

Returns the greatest common divisor of two or more integers. The greatest common divisor of a set of integers is the largest integer by which every number of the set is divisible.

Parameters

val1,val2, val3 ... = any integer number.

Example

Gcd(15,5) returns 5
Gcd(12,8,4,16,24) returns 4

Note

Gcd() cannot take unit as arguments.