Export (0) Print
Expand All

Decimal.TryParse Method

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
Public method Static member TryParse(String, Decimal) Converts the string representation of a number to its Decimal equivalent. A return value indicates whether the conversion succeeded or failed.
Public method Static member 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.
Top
Show:
© 2014 Microsoft