#include <stdio.h> int main() { printf( "%e\n", 1234567.89 ); printf( "%e\n", +1234567.89 ); printf( "%e\n", -1234567.89 ); printf( "%E\n", 1234567.89 ); printf( "%f\n", 1234567.89 ); printf( "%g\n", 1234567.89 ); printf( "%G\n", 1234567.89 ); return 0; }
1.234568e+06 1.234568e+06 -1.234568e+06 1.234568E+06 1234567.890000 1.23457e+06 1.23457E+06