DPlot logo
GRAPH SOFTWARE FOR SCIENTISTS & ENGINEERS
LCM function 
 

LCM(a,b)

Returns the least common multiple of two integers. The least common multiple is the smallest positive integer that is a multiple of both arguments. If either argument is not an integer, it is truncated. LCM(a,b) is calculated as (a*b)/GCD(a,b).

LCM(5,2)=10

LCM(24,36)=72

See also:

GCD

 
Site Map
Copyright © 2001-2008 HydeSoft Computing, LLC
Privacy Policy