AdvancedIntegerMathLCM Method |
Computes the least common multiple of two integers.
Namespace:
Meta.Numerics.Functions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public static long LCM(
long u,
long v
)
Public Shared Function LCM (
u As Long,
v As Long
) As Long
public:
static long long LCM(
long long u,
long long v
)
static member LCM :
u : int64 *
v : int64 -> int64
Parameters
- u
- Type: SystemInt64
The first integer. - v
- Type: SystemInt64
The second integer.
Return Value
Type:
Int64The least common multiple of
u and
v.
See Also