in reply to Rounding over numbers

Everyone here seems to be assuming your inputs are floating-point numbers, meaning you have to deal the issues connected to that, but are they really? Do you happen to be getting them as strings or some other format? Also, will your inputs only have a max. of two decimal places?

Replies are listed 'Best First'.
Re^2: Rounding over numbers
by Anonymous Monk on Feb 15, 2016 at 13:08 UTC

    Yes, all inputs will have been formatted to 2 decimal places before the rounding. The last example should have been 14.00.