Return the absolute value of the complex number, defined by (a^2 + b^2)^(1/2).
Since i^2 = 1, there will be no imaginary component. The absolute value is also known
as the modulus.
Reference: J. Stewart, Calculus, 3 ed. Pacific Grove, CA: Brooks/Cole Publishing Company, 1995.

C# | Visual Basic | Visual C++ |
public double AbsoluteValue()
Public Function AbsoluteValue As Double
public: double AbsoluteValue()

The absolute value of the complex number