Re: VarRound implementation
23 Feb
2004
23 Feb
'04
11:49 a.m.
Fabian Cenedese <Cenedese(a)indel.ch> wrote:
be. You have 2 choices: try and match their exact algorithm (v. hard w/o reverse engineering) or use the dutch rounding method (this makes more sense IMO).
I couldn't find anything about "Dutch rounding". Isn't rounding exactly defined? 0.1-0.4 round down -> 0.0, 0.5-0.9 round up -> 1.0?
I would think "Dutch rounding" works always up if you owe a sum and always down if you get the money ;-). Honestly though, before the Euro, prices in supermarkets were in cents and added up to the cent but the total amount was rounded up to the next 5 cents. Rolf Kalbermatter <Happening to be a swiss-dutch>
7966
Age (days ago)
7966
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rolf Kalbermatter