Big Bug,,StrToDouble and Evaluate

Recommended Posts

As it says in the help, using the "0x" notation only works for values between 0 and 2^31. The value you are entering is > 2^31 and so the value being returned is actually 2^31-1 (i.e. 0x7ffffff). If you need to do values > 0x7fffffff you should split it and recombine:

evaluate("0xC060") * 2^16 + evaluate("0x0000")

In this sample, the second part is not needed since its 0, but I included it to make the point.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.