SpreadJS Documentation > Formula Reference > Formula Functions > IMABS |
This function returns the absolute value or modulus of a complex number.
IMABS(complexnum)
The complexnum argument is a complex number for which to return the absolute value.
An error is returned if the complexnum argument is not in the form "x+yi" or "x+yj". For more information, refer to Complex Numbers.
Accepts number and string data. Returns number data.
IMABS("3+5j")