simplify float formatting