[]
        
(Showing Draft Content)

C1.Framework.Mathematics.Fraction-1.op_Explicit

explicit operator Operator

explicit operator Fraction<T>(double)

Converts the double to fraction.

Declaration
public static explicit operator Fraction<T>(double value)
Parameters
Type Name Description
double value
Returns
Type Description
Fraction<T>

explicit operator Fraction<T>(float)

Converts the float to fraction.

Declaration
public static explicit operator Fraction<T>(float value)
Parameters
Type Name Description
float value
Returns
Type Description
Fraction<T>