You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
There's an issue in the library/Go with encoding floats. The default in Go is to marshal floats with more then 6 digits, so bigger then 1 million or 1000000, is encoded to scientific notation. Here's an example: https://play.golang.org/p/wgLouDNloYq
The solution would be to send over the data in JSON by default, as the encoding of JSON in the Go Library was fixed in the past, so there the floats that are bigger than a million aren't converted to scientific notation.
The text was updated successfully, but these errors were encountered:
I've created a branch using only JSON to send data here. I've only been able to do limited testing but I believe there are some issues with this that need to be resolved. Your mileage may vary.
Please check it out and let me know if you encounter any issues and what they are:
There's an issue in the library/Go with encoding floats. The default in Go is to marshal floats with more then 6 digits, so bigger then 1 million or 1000000, is encoded to scientific notation. Here's an example: https://play.golang.org/p/wgLouDNloYq
The solution would be to send over the data in JSON by default, as the encoding of JSON in the Go Library was fixed in the past, so there the floats that are bigger than a million aren't converted to scientific notation.
The text was updated successfully, but these errors were encountered: