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

Fix number formatting #248

Merged
merged 1 commit into from Jun 20, 2019
Merged

Conversation

johandorland
Copy link
Collaborator

@johandorland johandorland commented Jun 17, 2019

Return the internal numbers for minimum, maximum, exclusiveminimum and exclusivemaximum as big.Float instead of big.Rat, which have a proper string representation. Furthermore this PR cleans up some old number handling when bignums were not supported. If an error occurs at a number, err.Value() now returns the raw json.Number instead of a stringified parsed number value.

@johandorland
Copy link
Collaborator Author

Fixes #247

@johandorland johandorland changed the title Numberformat Fix number formatting Jun 17, 2019
…rorDetails()

- Return a json.number err.Value() when an error occurs at a number
- Remove old leftover float and integer number handling
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.

None yet

1 participant