To take the quizzes, you must log in.Username: student Password: Formulas.1
You can view this site inthe language of your choice.
lcm(expr0,expr1) ⇒ number
Both expr0 and expr1 must be integer values.
The lcm() function returns the least common multiple of the two arguments as a number.
The least common multiple of two integers a and b is the smallest positive integer that is divisible by both a and b.
If a and/or b are note integers, the function gives unexpected results. For example lcm(2.5,5) gives 12.5, but obviously 12.5 is not a multiple of 5.
Use the calculator at the top right to find the least common multiple of two (or more) integers.