ConvertNToSingleTNumeric(TNumeric, Conversion) Method
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
public static float ToSingle<TNumeric>(
TNumeric value,
Conversion mode
)
where TNumeric : struct, new(), INumeric<TNumeric>
Public Shared Function ToSingle(Of TNumeric As {Structure, New, INumeric(Of TNumeric)}) (
value As TNumeric,
mode As Conversion
) As Single
public:
generic<typename TNumeric>
where TNumeric : value class, gcnew(), INumeric<TNumeric>
static float ToSingle(
TNumeric value,
Conversion mode
)
static member ToSingle :
value : 'TNumeric *
mode : Conversion -> float32 when 'TNumeric : struct, new() and INumeric<'TNumeric>
- value TNumeric
-
- mode Conversion
-
- TNumeric
Single