Click or drag to resize

JcampReaderDoubleTryParse Method

Tries to parse a double value from a string using the invariant number format first and then a format using a comma as decimal separator if the invariant parse fails.

Namespace: Altaxo.Serialization.Jcamp
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static bool DoubleTryParse(
	string s,
	out double x
)

Parameters

s  String
The string to parse.
x  Double
When this method returns, contains the parsed double if the conversion succeeded; otherwise, zero.

Return Value

Boolean
True if parsing succeeded; otherwise false.
See Also