rounding double

rounding the double is more appropriate instead of just flattening it
out.