On Sun, Sep 2, 2018 at 4:24 PM Manlio Perillo <manlio.peri...@gmail.com>
wrote:

> What happens if you need to divide 7 pennies by 4?
> Using integers will result in 1, and this is probably not what you want,
if this result needs to be used in further calculations.
>
> For financial applications you should use decimal floating-point numbers.

Good luck with 1/3 ;-)

-- 

-j

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to