CAbsfunction
Returns the magnitude of a complex number.
Syntax
FUNCTION CAbs (BYREF z AS _complex) AS DOUBLE
Also documented as
CMagnitude — one description covers them all.Description
Returns the magnitude of a complex number.
Example
DIM c AS _complex = (2, 3) PRINT CAbs(c) Output: 3.60555127546399
Reference
- Include file
AfxComplex.inc - Defined in AfxNova/AfxComplex.inc:543
- Documented in Numeric Datatypes/Complex Numbers Procedures.md
- Topic: Complex Numbers Procedures