Made pretty and fixed float rounding error.