> So my question is: Prior to go 1.8's release, how can we force float64
> values to be output in decimal? This is a problem for me specifically
> because our mobile user's report their lat/lon with six places of precision.
> Trying to dump that output to JSON causes a bunch of unusable
It appears that until go 1.8 releases, float64 values with six places of
precision will always be output in scientific notation when sent through
json.Marshal().
This recently fixed issue explains this:
https://github.com/golang/go/issues/6384#issuecomment-261140529
In short, encoding