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

Add a Decimal Number Type #51

Open
jbourquin opened this issue Apr 25, 2017 · 1 comment
Open

Add a Decimal Number Type #51

jbourquin opened this issue Apr 25, 2017 · 1 comment

Comments

@jbourquin
Copy link

A decimal number type serialized as a string would allow for an 'exact' representation of a floating point number. This would be very beneficial to monetary applications or applications that require significant decimal places in the number.

It would also help developers avoid errors in the way the binary floats are represented across different systems:

i.e. 3.3 == 3.3000000000000003

@tarcieri
Copy link
Contributor

I have definitely considered this in the past. Thanks for opening an issue about 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

2 participants