home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH11 / A11222.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-22  |  286.1 KB  |  1 channel  |  11,025 sample rate  |  26 seconds
Transcription: The stream classes have member functions that allow you to change the precision of floating point values, the width of fields, and the fill character. In this example, the function precision is used to set the precision in the format state of COUT to 2. The output of this example is 6.67. That is, the value of f rounded to have two digits after the decimal point.