<< the_gcd Arithmetic Graphical >>

Scilab Scholar module for schools >> Arithmetic > the_lcm

the_lcm

returns the LCM of two numbers

Calling sequence

p = the_lcm(m,n)

Arguments

m

integer

n

integer

p

integer

Description

the_lcm(m,n)returns the lowest common multiple of m and n.

Examples

the_lcm(25,30)
the_lcm(-25,30)
the_lcm(123,35)

See Also

<< the_gcd Arithmetic Graphical >>