We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c75f6 commit d26f748Copy full SHA for d26f748
test/test.lua
@@ -36,12 +36,12 @@ end
36
37
test("numbers", function()
38
local t = {
39
- [ "123.456" ] = 123.456,
40
- [ "-123" ] = -123,
41
- [ "-567.765" ] = -567.765,
42
- [ "12.3" ] = 12.3,
43
- [ "0" ] = 0,
44
- [ "0.10000000012" ] = 0.10000000012,
+ [ "123.456" ] = 123.456,
+ [ "-123" ] = -123,
+ [ "-567.76499999999999" ] = -567.765,
+ [ "12.300000000000001" ] = 12.3,
+ [ "0" ] = 0,
+ [ "0.10000000012" ] = 0.10000000012,
45
}
46
for k, v in pairs(t) do
47
local res = json.decode(k)
0 commit comments