NullableTypes Class Library

NullableSingle Explicit NullableTypes.NullableString to NullableTypes.NullableSingle Conversion 

Converts the specified NullableString parameter to a NullableSingle structure.

[Visual Basic]
returnValue = NullableSingle.op_Explicit(x)
[C#]
public static explicit operator NullableSingle(
   NullableString x
);

Parameters

x
The NullableString to be converted.

Return Value

Null If x is Null otherwise a new NullableSingle structure containing the parsed value.

Remarks

The x parameter can contain PositiveInfinitySymbol, NegativeInfinitySymbol and NaNSymbol.

Exceptions

Exception TypeCondition
ArgumentNullExceptionx is a null reference (Nothing in Visual Basic).
FormatExceptionx is not a number in a valid format.
OverflowExceptionx represents a number less than MinValue or greater than MaxValue.

See Also

NullableSingle Class | NullableTypes Namespace | Parse