Hi Everyone,
I have a percentage column I am trying to round to two decimal places. If I try:
I get the following results:
21.886792452830 21.890000000000001
19.245283018867 19.25
13.584905660377 13.58
14.716981132075 14.720000000000001
Can anyone tell me why the 14. and the 21. values will not round to two decimal places? Or tell me how to get around this?
Thanks!
Brian
I have a percentage column I am trying to round to two decimal places. If I try:
Code:
select percentage, round(percentage, 2) from my table
I get the following results:
21.886792452830 21.890000000000001
19.245283018867 19.25
13.584905660377 13.58
14.716981132075 14.720000000000001
Can anyone tell me why the 14. and the 21. values will not round to two decimal places? Or tell me how to get around this?
Thanks!
Brian