[GODRIVER-725] Numbers that look like integers but are too big should be treated as doubles Created: 19/Dec/18 Updated: 28/Oct/23 Resolved: 20/Dec/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | JSON & ExtJSON |
| Affects Version/s: | None |
| Fix Version/s: | 0.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Craig Wilson | Assignee: | Craig Wilson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The number I came across was this: "8005332285744496613785600"
this fails:
but this succeeds:
We should try the first and, if it fails, fallback and try the second. |
| Comments |
| Comment by Githook User [ 20/Dec/18 ] |
|
Author: {'username': 'craiggwilson', 'email': 'craiggwilson@gmail.com', 'name': 'Craig Wilson'}Message: |
| Comment by Jeffrey Yemin [ 20/Dec/18 ] |
|
https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/437970 |