Converts the string to a decimal equivalent.
s The string to convert.
A Decimal equivalent of the string.
TypeReasonArgumentNullException s is a null reference.FormatException s is not in the correct format.OverflowException s represents a number less than decimal.MinValue or greater than decimal.MaxValue.