Help Center

CComplex.CAST operatorsoperator

Converts a **CComplex** into another data type.

Numeric DatatypesoperatorCComplex.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

OPERATOR CAST () AS _complex
OPERATOR CAST () AS STRING

Description

Returns the underlying \_complex number.

Remarks

This overloaded operator is not called directly.

The second overloaded operator returns the complex number as a formatted string that can be used with the PRINT statement.

Reference

  • Include file CComplex.inc
  • Documented in Numeric Datatypes/CComplex Class.md
  • Topic: CComplex Class