> leaving one with the impression those digits will be as they are in the
float, and not rounded.

This is a fundamental misunderstanding of what a float is. The rounding
happens the moment a value is stored in a float. The printed value is
exactly what is stored.

- sean

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAGabyPoZdWMjYUiq_LS44tvyCzxmUYRbQs4%2BY_8s0uSmO_%2BdNw%40mail.gmail.com.

Reply via email to