ComplexExtensionsTryToComplex32(String, Complex32) Method |
Converts the string representation of a complex number to a single-precision complex number equivalent.
A return value indicates whether the conversion succeeded or failed.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool TryToComplex32(
this string value,
out Complex32 result
)
Parameters
- value String
-
A string containing a complex number to convert.
- result Complex32
-
The parsed value.
Return Value
Boolean
If the conversion succeeds, the result will contain a complex number equivalent to value.
Otherwise the result will contain complex32.Zero. This parameter is passed uninitialized.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also