X Tutup
The Wayback Machine - https://web.archive.org/web/20201123173719/https://github.com/ultrajson/ultrajson/issues/325
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

ujson failed to serialize float #325

Closed
gghez opened this issue Feb 5, 2019 · 1 comment
Closed

ujson failed to serialize float #325

gghez opened this issue Feb 5, 2019 · 1 comment

Comments

@gghez
Copy link

@gghez gghez commented Feb 5, 2019

Python verion: 3.6.2

What version:
pip install ujson==1.35

What usage:
ujson.dumps(0.9999999999999994, double_precision=15)

Output:
'0.1'

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.
X Tutup