NullableTypes Class Library

NullableDouble.ToNullableInt32 Method 

Converts this NullableDouble instance to a NullableInt32.

[Visual Basic]
Public Function ToNullableInt32() As NullableInt32
[C#]
public NullableInt32 ToNullableInt32();

Return Value

A NullableInt32 that is Null if this NullableDouble is Null otherwise a NullableInt32 whose Value equals the Value of this instance.

Exceptions

Exception TypeCondition
OverflowException This NullableDoubleValue is a number that is less than MinValue or greater than MaxValue.

See Also

NullableDouble Class | NullableTypes Namespace