The Least Common Denominator (LCM) is the opposite of GCD. The LCM function returns the least common multiple of integers. The syntax for the LCM function is LCM(number 1, [number 2],..).