myprintf: added rounding for float format