I'm testing a calculator application and apparently got to a strange precision issue with simple operations on occasional operands. For example, operation
55*0.45
returns
24.750000000000004
The operations are executed through JS, not C++.
Issue present on both physical N9 (PR 1.1) and Qemu.
Does anyone know how to avoid this besides artificially limiting the precision?
Thanks!

Reply With Quote

