Hello all,(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Number of digit

Loading...

Similar Threads - Number digit | Date |
---|---|

C/++/# Largest number formed by replacing k digits | Aug 9, 2016 |

Calculating number Pi digits in C | Nov 11, 2015 |

Problem involving 3 digit numbers | Jan 27, 2014 |

How to work with 100+digit numbers | Jan 27, 2014 |

Calculating digits of Grahams' Number | May 16, 2013 |

**Physics Forums - The Fusion of Science and Community**