ComponentOne PDF for .NET
CSJ2K.j2k.util Namespace / MathUtil Class / lcm Method / lcm(Int32,Int32) Method
First number
Second number

In This Topic
    lcm(Int32,Int32) Method
    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 x1 As Integer, _
       ByVal x2 As Integer _
    ) As Integer
    public static int lcm( 
       int x1,
       int x2
    )

    Parameters

    x1
    First number
    x2
    Second number
    See Also