format doubles with %f