Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed encode_number() number->string conversion method
Using Lua5.3, tonumber() will represent the float `1` as "1.0" instead of "1". Using string.format("%14g, x) `1` is converted to "1" regardless of whether it's an int or float. All other conversions seem to be uneffected.
- Loading branch information