Abs

Abs[x]
returns the absolute value of x.

Abs returns the magnitude of complex numbers: