In This Topic
Method that calculates the Least Common Multiple (LCM) of two strictly positive integer numbers.
Syntax
'Declaration
Public Overloads Shared Function lcm( _
ByVal As System.Integer, _
ByVal As System.Integer _
) As System.Integer
public static System.int lcm(
System.int ,
System.int
)
Parameters
- x1
- First number
- x2
- Second number
See Also