Help Center

CComplex.CSgnproperty

Returns the sign of this complex number.

Numeric DatatypespropertyCComplex.incdocumented

Syntax

PROPERTY CSgn () AS LONG

Description

Returns the sign of this complex number.
If number is greater than zero, then CSgn returns 1.
If number is equal to zero, then CSgn returns 0.
If number is less than zero, then CSgn returns -1.

Reference

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