The information in this article applies to:
SUMMARY
By default, the printf() function displays a floating-point number to
six digits of precision. This default also holds for double precision
numbers.
%[<flags>][<width>][.<precision>]<type> MORE INFORMATIONThe code example below demonstrates documented printf() behavior that may appear to be a problem with the function.
This code example produces the following output:
To display the value d to its full precision, modify the code example
to use the following statement:
Additional query words: kbinf 1.00 1.50 2.00 5.10 6.00 6.00a 6.00ax 7.00
Keywords : kbCRT kbVC |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |