Least Common Multiple

This page documents the development version of Graphite at dev.graphite.art, which may differ from the current release.

The least common multiple (LCM) calculates the smallest positive integer that is a multiple of both of the two input numbers.

Interface

Inputs

ParameterDetailsPossible Types
Value

One of the two numbers for which the LCM is calculated.

Primary Input

Integer[]
Integer
Other Value

The other of the two numbers for which the LCM is calculated.

Default: 0

Integer[]
Integer

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Integer
Integer[]