valerian95
IS-IT--Management
Hi,
I've got a problem when rounding results in Excel XP.
When I round to 1 decimal the number: 0.95 I get: 1.0.
But when I round : (24.95 - 24.00) to 1 decimal, I get: 0.9!
Since 24.95 - 24.00 = 0.95, why don't excel give me the same result when rounding it than when I type directly 0.95?
I even tried:
=round(0.95; 1) (that gives 1.0)
and:
=round(24.95 - 24.00; 1) (and that still gives 0.9)
Strangely, the problem does not occur when I add numbers: =round(0.50 + 0.45; 1) gives correctly 1.0.
Why excel round differently when there is a substraction implied? Do you have any suggestion on how to fix it?
Any hints?
Thanks!
I've got a problem when rounding results in Excel XP.
When I round to 1 decimal the number: 0.95 I get: 1.0.
But when I round : (24.95 - 24.00) to 1 decimal, I get: 0.9!
Since 24.95 - 24.00 = 0.95, why don't excel give me the same result when rounding it than when I type directly 0.95?
I even tried:
=round(0.95; 1) (that gives 1.0)
and:
=round(24.95 - 24.00; 1) (and that still gives 0.9)
Strangely, the problem does not occur when I add numbers: =round(0.50 + 0.45; 1) gives correctly 1.0.
Why excel round differently when there is a substraction implied? Do you have any suggestion on how to fix it?
Any hints?
Thanks!