CComplex.CModulusmethod
Returns the modulus of a complex number.
Syntax
FUNCTION CModulus () AS DOUBLE
Also documented as
CMod — one description covers them all.Description
Returns the modulus of a complex number.
Example
DIM cpx AS CComplex = CComplex(2.3, -4.5) print cpx.CModulus Output: 5.053711507397311
Reference
- Include file
CComplex.inc - Defined in AfxNova/CComplex.inc:1852
- Documented in Numeric Datatypes/CComplex Class.md
- Topic: CComplex Class