Converts the NullableSingle parameter to a NullableDecimal structure.
Null if x is Null otherwise a new NullableDecimal structure constructed from the Value of x.
Exception Type | Condition |
---|---|
OverflowException | x value is a number that is less than
MinValue or greater than
MaxValue -or- value is NaN, PositiveInfinity, or NegativeInfinity. |
NullableDecimal Class | NullableTypes Namespace