Link to .capx file (required!):
dl.dropboxusercontent.com/u/5426011/bug/bug_constant_folding.capx
Steps to reproduce:
1. Run capx.
Observed result:
Global variables a and b have different values.
"a" is set to 64999966 / 1000000 and later reads as 65.
"b" is set to 64999966*one / 1000000 and reads as 64.999966.
"one" is a global set to 1 to bypass "constant folding".
Expected result:
I would expect both expressions to evaluate to 64.999966 and not just b.
Browsers affected:
Chrome: yes
Firefox: yes
Internet Explorer: untested
Operating system & service pack:
Windows vista sp2
Construct 2 version:
r155