StringExtensions.IsDecimal(String) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks whether a string can be converted to the Decimal type.
public static bool IsDecimal(this string value);
	static member IsDecimal : string -> bool
	<Extension()>
Public Function IsDecimal (value As String) As Boolean
	Parameters
- value
 - String
 
The string value to test.
Returns
true if value can be converted to the specified type; otherwise, false.