Project

General

Profile

Actions

$gcd » History » Revision 2

« Previous | Revision 2/3 (diff) | Next »
Per Amundsen, 01/13/2023 07:18 AM


Added in 4.3

$gcd(N,...)

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

See also $lcm.

Parameters

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 · 2 revisions

Also available in: PDF HTML TXT