Click or drag to resize

GeneralIsNumeric Method

Check if a string is numeric

Namespace:  Baffa.Utils
Assembly:  CSharpGrid (in CSharpGrid.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool IsNumeric(
	string val,
	NumberStyles NumberStyle = NumberStyles.Number
)

Parameters

val
Type: SystemString
String Value
NumberStyle (Optional)
Type: System.GlobalizationNumberStyles
Optional NumberStyle

Return Value

Type: Boolean
True or False
See Also