NullableTypes Class Library

NullConvert.From Method (NullableSingle, Single)

Converts the specified NullableSingle value to an equivalent Single value using a conventional Single value to represent the Null value.

[Visual Basic]
Overloads Public Shared Function From( _
   ByVal x As NullableSingle, _
   ByVal conventionalNullValue As Single _
) As Single
[C#]
public static float From(
   NullableSingle x,
   float conventionalNullValue
);

Parameters

x
The NullableSingle value to convert.
conventionalNullValue
The Single value that conventionally represent the null value.

Return Value

conventionalNullValue if x is Null otherwise the Value of x.

See Also

NullConvert Class | NullableTypes.HelperFunctions Namespace | NullConvert.From Overload List