Help Center

CComplex.CAddImagmethod

Adds an imaginary number.

Numeric DatatypesmethodCComplex.incdocumented

Syntax

FUNCTION CAddImag (BYVAL x AS DOUBLE) AS CComplex

Parameters

NameDescription
yA double value.

Description

Adds an imaginary number.

Example

DIM cpx AS CComplex = CComplex(5, 6) cpx = cpx.CAddImag(10)

Reference

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