Help Center

CComplex.CSubRealmethod

Subtracts a real number.

Numeric DatatypesmethodCComplex.incdocumented

Syntax

FUNCTION CSubReal (BYVAL x AS DOUBLE) AS CComplex

Parameters

NameDescription
xA double value.

Description

Subtracts a real number.

Example

DIM cpx AS CComplex = CComplex(5, 6) cpx = cpx.CSubReal(2)

Reference

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