home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 171.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  679KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Floating Point Types 171 The field width and the precision (the number of digits to the right of the deci- mal point) for the display ofa floating point number can also be controlled In the oat examples above the default field width and precision was used. The minimum nf field width (minimum number of spaces used to display number) can be speci- and fied by placing decimal integer between the and the conversion specifica tion For example for that pri intf "12345678901 12345678901 2345 06 234567890 \n ngth printf( "The number i5f ble. should give the following output: 12345678901 12345678901 2345 678901234567890 The number 200000 The of the string of digits is included only to illustrate that 15 spaces are type used for the output of The 15 spaces include the digits, the decimal point sign ...