Decimal.TryParse Method
.NET Framework 4
Converts the string representation of a number to its Decimal equivalent. A return value indicates whether the conversion succeeded or failed.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
TryParse(String, Decimal) | Converts the string representation of a number to its Decimal equivalent. A return value indicates whether the conversion succeeded or failed. |
|
TryParse(String, NumberStyles, IFormatProvider, Decimal) | Converts the string representation of a number to its Decimal equivalent using the specified style and culture-specific format. A return value indicates whether the conversion succeeded or failed. |