Computes the least common multiple of two integers.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
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
)

Parameters

u
Int64
The first integer.
v
Int64
The second integer.

Return Value

The least common multiple of u and v.

See Also