LEAST_COMMON_MULTIPLE
Calculate the least common multiple

Description

Given a list of numbers, calculates the least common multiple for them.

Function signature

1
LEAST_COMMON_MULTIPLE(list: Array) => Number
Copied!
Parameter
Description
List
List of numeric values

Examples

Formula
Return value
LEAST_COMMON_MULTIPLE([10, 100, 1000])
1000
LEAST_COMMON_MULTIPLE([14, 21, 42])
42
LEAST_COMMON_MULTIPLE([12, 9, 15])
180
Last modified 11mo ago
Export as PDF
Copy link