[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Fraction.-ctor

Fraction Constructor

Fraction(double, double)

Initializes a new instance of Fraction structure with the specified numerator and denominator.

Declaration
public Fraction(double numerator, double denominator)
Public Sub New(numerator As Double, denominator As Double)
Parameters
Type Name Description
double numerator

A double that indicates the number written above the line in a common fraction to indicate the number of parts of the whole.

double 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.