Skip to content

Make it possible to specify float type as well #228

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

Closed
wants to merge 1 commit into from
Closed

Conversation

Keno
Copy link
Member

@Keno Keno commented Dec 4, 2017

I have an application dealing with decimal money amounts sent via JSON,
I want to parse these as a FixedPointDecimal (
https://github.com/JuliaMath/FixedPointDecimals.jl) to make sure floating
point doesn't mess up my amounts. This code is sufficient to convience
JSON.jl to parse numbers as FixedPointDecimals.

I have an application dealing with decimal money amounts sent via JSON,
I want to parse these as a FixedPointDecimal (
https://github.com/JuliaMath/FixedPointDecimals.jl) to make sure floating
point doesn't mess up my amounts. This code is sufficient to convience
JSON.jl to parse numbers as FixedPointDecimals.
@kmsquire
Copy link
Contributor

kmsquire commented Dec 4, 2017

Looks good! Can you add some tests?

@ScottPJones
Copy link
Contributor

It would be good to have this tested with https://github.com/stevengj/DecFP.jl as well.

@kmsquire
Copy link
Contributor

@Keno are you still interested in this pull request?

@Keno
Copy link
Member Author

Keno commented May 18, 2019

abstractly yes, but I'm unlikely to have the time to get back to it in the near future, so feel free to close.

@kmsquire kmsquire closed this May 18, 2019
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.

3 participants