Returns the least common multiple of two integers.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static long LeastCommonMultiple(
int a,
int b
)
Public Shared Function LeastCommonMultiple (
a As Integer,
b As Integer
) As Long
public:
static long long LeastCommonMultiple(
int a,
int b
)
static member LeastCommonMultiple :
a : int *
b : int -> int64
Parameters
- a
- Type: SystemInt32
An integer. - b
- Type: SystemInt32
An integer.
Return Value
Type:
Int64The least common multiple of
a
and
b.
Reference