Converts the specified String representation of a number to its NullableDecimal equivalent.
A NullableDecimal structure containing the parsed value.
Exception Type | Condition |
---|---|
ArgumentNullException | s is a null reference (Nothing in Visual Basic). |
FormatException | s does not consist solely of an optional sign followed by a sequence of digits ranging from 0 to 9 and optionally a culture-specific decimal point symbol followed by a sequence of digits ranging from 0 to 9. |
OverflowException | s represents a number less than MinValue or greater than MaxValue. |
NullableDecimal Class | NullableTypes Namespace