gcd() Function

Function

gcd( number )

Returns the greatest common denominator of the specified non-negative number(s), which is the largest number that divides all the given numbers without a remainder.

Parameters

Keyword Type Description

number

Decimal Array

The list of non-negative numbers.

Returns

Decimal

Examples

gcd(4,12,36) returns 4

Open in Github Built: Tue, May 24, 2022 (04:58:50 PM)

On This Page

FEEDBACK