When I'm trying to run "eval" function on "(3+4i)^2" string, it gives me exception:
"TypeError: Property 'toExponential' of object -6.999999999999997 + 24i is not a function"
It is an issue only in that case.
When I evaluate "(3+4i)*(3+4i)) it returns correct result "-7+24i"
When I'm trying to run "eval" function on "(3+4i)^2" string, it gives me exception:
"TypeError: Property 'toExponential' of object -6.999999999999997 + 24i is not a function"
It is an issue only in that case.
When I evaluate "(3+4i)*(3+4i)) it returns correct result "-7+24i"