POSITION:028,114
COLOUR:STANDARD
TEXT:00,With floating point format codes (%f), the field size can be a decimal
TEXT:16,number. The number to the LEFT of the decimal point is the field size,
TEXT:16,while the number to the RIGHT of the decimal point is the precision.
TEXT:16,Precision means how many digits of the decimal fraction you want to have
TEXT:16,shown. For example, %7.3f will show the floating point value 13.1705 as
TEXT:16,13.170 with a leading blank ( 13.170). The decimal fractions are not cut
TEXT:16,off, however: they are rounded up. This means %6.2f will display the
TEXT:16,value 899.987 as 899.99 with no leading blanks.
TEXT:32,Remember when we stated the data to be displayed in printf() is either
TEXT:16,a single atom value or a sequence representing a list of values to be
TEXT:16,displayed? For this reason, if you are attempting to display a SINGLE
TEXT:16,sequence value as a string, you must make it the only element of a
TEXT:16,sequence.
