-
Notifications
You must be signed in to change notification settings - Fork 28
dos_lcm
Dale Fugier edited this page Nov 7, 2023
·
1 revision
Computes the least common multiple of two integers. The least common multiple is the smallest positive integer that is a multiple of both integers.
(dos_lcm number1 number2)
number1
The first number.
number2
The second number.
The least common multiple, if successful.
nil on error.
Command: (dos_lcm 5 2)
10
Command: (dos_lcm 24 36)
72