Hi, I want to write an fprintf statement to a text file but the compiler is replacing the "%e" in the command with some random value. This is what i want to be printed:-
fprintf(of "AC\nGain=%e\nPhase=%e\nUGF=%e\n\n", Gain, x, ugf) .
fprintf(of "AC\nGain=1.030403e-312\nPhase=0.000000e+00\nUGF=2.076246e-317\n\n", Gain, x, ugf) .
I tried "\%e" but it doesn't work....same output any ideas??
Thanks in advance.