Project

General

Profile

Actions

Added in 4.3

$gcd(N,...)

Returns the greatest common divisor for the specified list of numbers.

See also $lcm.

Parameters

Parameter Description
N... The numbers to search.

Example

//echo -ag The greatest common divisor for 24 and 54 is $gcd(24, 54)

Updated by Per Amundsen over 1 year ago · 3 revisions

Also available in: PDF HTML TXT