Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant