ComponentOne CalendarView for WinForms
C1.Framework.Mathematics Namespace / Fraction Structure / Fraction Constructor
A double that indicates the number written above the line in a common fraction to indicate the number of parts of the whole.
A double that indicats the number written below the line in a common fraction that indicates the number of parts into which one whole is divided.

In This Topic
    Fraction Constructor
    In This Topic
    Initializes a new instance of Fraction structure with the specified numerator and denominator.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal numerator As Double, _
       ByVal denominator As Double _
    )
    public Fraction( 
       double numerator,
       double denominator
    )

    Parameters

    numerator
    A double that indicates the number written above the line in a common fraction to indicate the number of parts of the whole.
    denominator
    A double that indicats the number written below the line in a common fraction that indicates the number of parts into which one whole is divided.
    See Also