Discussion in 'C' started by suganthi, Jul 8, 2012.
whe we using %e in c language?
Try this code and see the difference...
float i= 0.00009;
printf("f = %f\ne = %e\nE = %E", i, i, i);}
we use %e to represent the given number in exponential form that is by this format we represent .000009=9*10^(-05),where -05 is power of base 10.
printed error rectify .000009->.00009
Separate names with a comma.