e, E: Floating point displayed in exponential form. : printf exponential form « printf scanf « C Tutorial






#include <stdio.h>
main()
{
    float f = 10.9999;
    printf(" %e \n",f);
    printf(" %E \n",f);

}
1.099990e+01
      1.099990E+01








4.8.printf exponential form
4.8.1.e, E: Floating point displayed in exponential form.
4.8.2.g, G: print value in floating point or exponential form.