--- Robert Ryan <[EMAIL PROTECTED]> wrote:

> setprecision() - number of digits printed to the
> right of the decimal
>   setw() -  Specifies the width of the display
> field, but what is meant by the display field - 
>   like a rectangle or a triangle
> 
std::setprecision() is the number of digits after the
decimal point only when combined with std::fixed. 
Without std::fixed it designates the number of
significant digits.

Ray


 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

Reply via email to