render digits up to precision for %f