-=> Remebering what ROBERT DAVIES wrote to All <=-
RD> Hello all,
RD> I'm new to C++ and find that there are parts in the program
RD> below which I don't understand. If you have a look at lines
RD> nine and ten
RD> cout << 1.e3 << endl; // 1000
RD> cout << 1.e-3 << endl; // 0.001
RD> Does 1.e3 mean one multiplied by a thousand, and 1.e-3 mean
RD> one multiplied by minus a thousand?
Well, thats actually means "multiplied by 10 raise to power 3" (or -3).
since 10 raise to power 3 = 1000, and 10^(-3)=.001.
Me = MANISH MALIK
E-mail 1 = manish@dolbbs.com E-mail 2 = blaster@poboxes.com
--- Terminate 5.00/Pro
- TerMail/QWK - I cannot remove this Origin Line! :(
--- Maximus 3.01
---------------
* Origin: Delhi Online -=[New Delhi/India]=- (6:606/26)
|