Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdaddy changes the float number when pretty printing #10

Open
mzlogin opened this issue Aug 17, 2023 · 0 comments
Open

jdaddy changes the float number when pretty printing #10

mzlogin opened this issue Aug 17, 2023 · 0 comments

Comments

@mzlogin
Copy link

mzlogin commented Aug 17, 2023

First of all, thanks for this plugin that I used for years.

I met a bad case when gqaj.

Example input:

{"a":10.00, "b": 11.10}

expected output:

{"a":10.00, "b": 11.10}

actual output:

{"a": 10.0, "b": 11.1}

I did some simple debugging, and found the problem was there:

return eval(quoted_keys)

but I don't know how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant