CALC.gcd(Array)

Returns the greatest common divisor of an array of numbers. If any value is not an integer, it is truncated.

Example

CALC.gcd([24, 32, 16, 12]);

// returns 4

<< CALC.floor(number, SIgnificance) © 1996-2013 InetSoft Technology Corporation (v11.5) CALC.integer(number) >>