On Wed, July 12, 2017 11:53, Shantanu Tushar wrote:
> and I see this output-
>
> qml: Opening 5762702576189441
> Opening 5762702576189442
>
> As you can see the number changes. What am I doing wrong?

...you are using JavaScript numbers. All numbers is JS are 32bit floats,
so naturally when you get to high numerical values you lose precision.
Unless the numerical value is somehow important to the user: try to wrap
those numbers in something more opaque.


  Konrad

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to