Least Common Multiple

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

i32
u32
u64
Other Value

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

Default: 0

i32
u32
u64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

u32
u64
i32