Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
The number I came across was this: "8005332285744496613785600"
this fails:
strconv.ParseInt("8005332285744496613785600", 10, 64) |
but this succeeds:
strconv.ParseFloat("8005332285744496613785600", 64) |
We should try the first and, if it fails, fallback and try the second.