Create

Ratio.Create method

Creates and returns one Ratio instance from specified numerator and denominator

public static Ratio Create(ushort numerator, ushort denominator)
Parameter Type Description
numerator UInt16 Numerator for the ratio. Should be a strictly positive integer number.
denominator UInt16 Denominator for the ratio. Should be a strictly positive integer number.

Return Value

New Ratio instance

See Also