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?
1.4m articles
1.4m replys
5 comments
57.0k users