| 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
)
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:
BooleanTrue or False
See Also