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
Floats/Doubles are outputted as Integers #8
Comments
Numbers are automatically downsized to their smallest representation if possible, this is why 1.0 (double) gets converted into 1 (double) but Double.MAX_VALUE stays as a double. We can certainly add a configuration flag to |
I think it would be very useful. |
Fixed with #21 |
To be clear, there's no need for a configuration option as Json-lib was wrong in deleting trailing |
Can you make a configuration option at least to output double/float values with the trailing zeros intact? It looks like doubles are trimmed from 1.0 to 1, removing the trailing period and zeros. I would like to keep this intact for our API.
The text was updated successfully, but these errors were encountered: