- #1
Rajini
- 621
- 4
Hello all,
I wrote a C program to multiply a column of numbers (for eg., number will look like this 10.45618) with some constant...
after multiplication i get the correct value (i tested using calculator).
Now the output is 0.00005672 (i use %14.9lf) ..but i want them to display like this: 5.672E or D-5.
E stands for 10.
thanks for your help.
I wrote a C program to multiply a column of numbers (for eg., number will look like this 10.45618) with some constant...
after multiplication i get the correct value (i tested using calculator).
Now the output is 0.00005672 (i use %14.9lf) ..but i want them to display like this: 5.672E or D-5.
E stands for 10.
thanks for your help.