[]
        
(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)
Public Shared Narrowing Operator CType(value As Double) As Fraction(Of T)
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)
Public Shared Narrowing Operator CType(value As Single) As Fraction(Of T)
Parameters
Type Name Description
float value
Returns
Type Description
Fraction<T>