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 almost 2 years ago · 2 revisions

Also available in: PDF HTML TXT