n — 用于整数位,以告知格式化程序将此 Number 对象转变成一个数字。
n — is used for numbers, and denotes to the formatter to turn this Number object into a number.
如果编号的数位相同的话,那么对列中的编号进行格式化则没有什么乐趣。
There's no fun in formatting Numbers in columns if we don't have differing Numbers of digits.
这个实参可与一个数字联合使用,以告知格式化程序在小数点前有多少个数位。
This argument can be used with a number, which tells the formatter how many digits to use before the decimal point.
And there's probably more digits after the decimal place, but because of my formatting string, I only see a couple of them.
这里可能有更多的小数位,但因为我对结果设定了格式,我们只看到两位。
应用推荐