float x=234.89; double y=-123.4567; printf("%.3f,%.3e\n",x,x); printf("%08.3f,%010.3e,%015.3e\n",x,x,x); printf("%g,%f,%e\n",y,y,y);