Gemstone Numeric Library
Show/Hide TOC

# ComplexExtensionsToComplexNotation(Complex, ComplexNotationOptions) Method

Converts the given complex number to a string using complex notation.

## Definition

Namespace: Gemstone.Numeric.ComplexExtensions
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.165 -- Release Build+fed221202c0e8c0202a8935c553b1d6d74b53316
C#
View Source Request Example

    public static string ToComplexNotation(
    	this Complex complex,
    	ComplexNotationOptions options
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Function ToComplexNotation (
    	complex As Complex,
    	options As ComplexNotationOptions
    ) As String

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static String^ ToComplexNotation(
    	Complex complex,
    	ComplexNotationOptions options
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.ComplexExtensions.ComplexExtensions.ToComplexNotation = function(complex, options);

#### Parameters

complex Complex
  The complex number
options ComplexNotationOptions
  The options that define various aspects of the notation

#### Return Value

String
A string representation of the complex number.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Complex. 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

#### Reference

ComplexExtensions Class
ToComplexNotation Overload
Gemstone.Numeric.ComplexExtensions Namespace