use strconf.FormatFloat instead of fmt.Sprintf for converting floats to...
use strconf.FormatFloat instead of fmt.Sprintf for converting floats to strings, this way we can eliminate non significant trailing zeros such that the float value 1 would be "1" as a string instead of "1.000000"
Please register or sign in to comment