ToComplex32(String,IFormatProvider) Method
In This Topic
Creates a Complex32
number based on a string. The string can be in the following formats (without the quotes): 'n', 'ni', 'n +/- ni', 'ni +/- n', 'n,n', 'n,ni,' '(n,n)', or '(n,ni)', where n is a double.
Syntax
[System.Runtime.CompilerServices.Extension()]
public static Complex32 ToComplex32(
System.string ,
System.IFormatProvider
)
Parameters
- value
- the string to parse.
- formatProvider
- An System.IFormatProvider that supplies culture-specific formatting information.
Return Value
A complex number containing the value specified by the given string.
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
See Also