How would I fix this AppleScript error?
So I'm trying to do a square root so lets use the example of:
set x to -11
set y to -11 ^ (1 / 2)
It then returns error number -2702, how would I fix this error?
AppleScript Editor-OTHER, Mac OS X (10.7.4)
So I'm trying to do a square root so lets use the example of:
set x to -11
set y to -11 ^ (1 / 2)
It then returns error number -2702, how would I fix this error?
AppleScript Editor-OTHER, Mac OS X (10.7.4)
AppleScript can't recognize or use imaginary numbers. If you need to use these, use a program which can.
(66383)
I've decided to use the language of bc because that can handle large numbers
How would I fix this AppleScript error?