127.0.0.1:6379> set a 10000000 OK 127.0.0.1:6379> eval 'return tostring(redis.call("get", "a") + 1.0000008)' 0 "10000001.000001"
I have to do other operations besides addition.
I found that Lua's Number supports up to 14 digits, It is no longer accurate after more than 14. While this scope is sufficient for my current needs, my scalability is limited by this.
Is there any workaround?
2.1m questions
2.1m answers
60 comments
57.0k users