Problem Description
Adding 0.1 to a variable and displaying it as floor(variable) doesn't return 1 until it's more than 1 (though it works as expected for any other integer)
EDIT: Having done my floating point homework, I rescind my bug report.
Attach a Capx
[attachment=0:1epoa2r5][/attachment:1epoa2r5]
Description of Capx
Click the button to add 0.1 to a variable which sets one text using floor and one without.
Steps to Reproduce Bug
- Click button 10 times
Observed Result
floored text still says 0 until 11th click, though 2 happens at 20, 3 at 30, etc..
Expected Result
10 clicks should be 1
Affected Browsers
- Chrome: (?)
- FireFox: (YES)
- Internet Explorer: (?)
Operating System and Service Pack
Vista SP2
Construct 2 Version ID
173 (apologize if this has already been addressed in newer release)