|
![](/i/fill.gif) |
> You know that 1/10 can't be exactly represented in binary, but can be
> represented exactly in decimal, right?
Why not just store the total pence/cents in an int?
Anyway, I thought banks worked internally to fractions of a pence/cent and
only rounded for statements etc?
Post a reply to this message
|
![](/i/fill.gif) |