Mono Class Library: System.Convert Overview | MembersSystem.Convert.ToDecimal Method |
Converts a string to a decimal . [Edit]
|
- value
- The string to be converted. The string is in the System.Globalization.NumberStyles.Number style. [Edit]
value as a decimal. [Edit]
Type Reason ArgumentException value is a null reference. [Edit] FormatException value cannot be converted to a numeric value. [Edit] OverflowException The numeric value of value is greater than decimal.MaxValue or less than decimal.MinValue. [Edit]
This method parses value using the information in a System.Globalization.NumberFormatInfo instance initialized for the current system culture. [Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0