SpreadJS Documentation > Formula Reference > Formula Functions > IMSUB |
This function returns the difference of two complex numbers in the x+yi or x+yj text format.
IMSUB(complexnum1,complexnum2)
The complexnum1 is a complex number from which to subtract the other complex number complexnum2.
An error is returned if the arguments are not in the form "x+yi" or "x+yj". For more information, refer to Complex Numbers.
Accepts number and string data. Returns string data.
IMSUB("2+5j","5+3i")