|
楼主 |
发表于 2006-7-25 13:28
|
显示全部楼层
* The width is not specified in the format string, it is specified by an integer value preceding the argument thas has to be formatted.
.precision meaning
.number for d, i, o, u, x, X types: precision specifies the minimum number of decimal digits to be printed. If the value to be printed is shorter than this number the result is padded with blanks. The value is never truncated even if the result is larger.(if nothing specified default is 1). |
|