Click or drag to resize

FloatComplexParse(String, NumberStyles) Method

Constructs a new FloatComplex instance from a given string representation using the specified style.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatComplex Parse(
	string s,
	NumberStyles styles
)

Parameters

s  String
A string representation.
styles  NumberStyles
Number styles.

Return Value

FloatComplex
A new FloatComplex instance.
Remarks
Acceptable strings are of the form:
C#
4.2,-5.1
(4.2,-5.1)
4.2
Unacceptable strings are:
C#
4.2 - 5.1i
4.2 - 5.1
For example, with NumberStyles set to NumberStyles.Number | NumberStyles.AllowExponent, the string (4.523000e+000,3.400000e+000) is parseable.
See Also