Click or drag to resize

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.Ascii
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

Boolean
true if the string can be parsed as a number; otherwise, false.
See Also