(no subject)
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Dec 10, 2006
- 992 views
Allen wrote: > > I am working on a windows program that displays results of a calculation in > > a label an some of the results are to large or to small to display the entire > string in the label. > > Can anyone help me with a routine that will convert the results into > scientific > notation before diplaying them (ie. 0.00000000000001 = 1.0 x 10<sup>-14</sup>. Try using
printf(1,"%e", 0.00000000000001)
Matt