Syntax:
LCM (number, ...)
Returns the least common multiple of integers. The least common multiple is the smallest positive integer that is a multiple of all integer arguments number1, number2, and so on. Use LCM to add fractions with different denominators.
See https://support.microsoft.com/en-us/office/lcm-function-7152b67a-8bb5-4075-ae5c-06ede5563c94
| Modifier and Type | Field and Description |
|---|---|
| public static final Lcm | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValueEval | evaluate(ValueEval[]
the pre-evaluated arguments for this function. args is never args, OperationEvaluationContext null,
nor are any of its elements.primarily used to identify the source cell containing the formula being evaluated.
may also be used to dynamically create reference evals. ec)Implements org.
|
| private boolean |
| instance | back to summary |
|---|---|
| public static final Lcm instance | |
| MAX_OUTPUT | back to summary |
|---|---|
| private static final long MAX_OUTPUT | |
| Lcm | back to summary |
|---|---|
| public Lcm() | |
| evaluate | back to summary |
|---|---|
| public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) Implements org.
| |
| isInvalidInput | back to summary |
|---|---|
| private boolean isInvalidInput(double d) | |