lcm

fun Int.lcm(that: Int): Int

finds the least common multiple of two integers.

Return

Int

Parameters

<receiver>

Int

that

the other number

fun Int.lcm(that: Long): Long

finds the least common multiple of two integers.

Return

Long

Parameters

<receiver>

Int

that

the other number

fun Long.lcm(that: Int): Long
fun Long.lcm(that: Long): Long

finds the least common multiple of two integers.

Return

Long

Parameters

<receiver>

Long

that

the other number