Just my last post to specify the wired behaivour and by my understanding it is something to work on....
I was able to reproduce the issue and looks to me to be a sort of bug:
Have a double number
I was able to reproduce the issue and looks to me to be a sort of bug:
Have a double number
Code:
local d = 1000000012345685
log(d)
-- shown as 1.00000001234568e+15
log(string.format('%.0f', d)
-- shown as 1000000012345685
storage.set('double', d)
d = nil
d = storage.get('double')
log(d)
-- shown as 1.00000001234568e+15
log(string.format('%.0f', d)
-- shown as 1000000012345680