Skip to content

Conversation

@edglev
Copy link

@edglev edglev commented Jan 19, 2026

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Documented? no
Fixed tickets
License MIT

Fix zero-fraction floats (1.0) losing their fraction during json_encode, resulting in '1'.

@Nyholm
Copy link
Contributor

Nyholm commented Jan 22, 2026

Please rebase this PR.

Fix zero fraction floats (1.0) being incorectly encoded as ints (1).
@edglev edglev force-pushed the fix/preserve-floats branch from ae3e9f8 to 2983ba3 Compare January 22, 2026 15:00
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

Successfully merging this pull request may close these issues.

2 participants