Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 Supported by Silverlight for Windows Phone Supported by Xbox 360 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 Supported by Silverlight for Windows Phone Supported by Xbox 360 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.