AsciiLineAnalysisIsNumeric Method |
Tests if the string s is numeric. This is a very generic test here. We accept dots and commas as decimal separators, because the decimal separator statistics
is made afterwards.
Namespace: Altaxo.Serialization.AsciiAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static bool IsNumeric(
string s,
CultureInfo numberFormat
)
Parameters
- s String
- The string to test.
- numberFormat CultureInfo
- Culture info used to decide if s is a number.
Return Value
Booleantrue if the string can be parsed as a number; otherwise,
false.
See Also