digit place selection 数位键设定按钮
Obviously, the 0 should be at the left edge of the ruler, but if we place the two - and three-digit Numbers at the 72-pixel points, they will appear unbalanced.
显然,数字0应该在标尺的左边缘位置,但是如果我们将那些两位数和三位数的数字放置在那些72像素点,它们看起来会不平衡。
In subtraction, one never "carries" a digit or bit on to the next left place-weight.
在减法,一个从来没有“携带”数字或比特的下一个离开的地方体重。
You can use [: digit:] in place of [0-9], and [: alpha:] is a more portable replacement for [-a-za-z0-9_]. For example, you can strip all punctuation from a string by using the statement.
您可以使用[:digit:]代替[0 - 9],并且[:alpha:]是比[- a - zA - z 0 - 9 _]更具有可移植性的替代者。
Glancing at the bottom, this is pretty arbitrary, but I chose to format my string as follows: % 1f so at the bottom here I'm printing out %.1f, which quick sanity check means print just one digit after the decimal place.
看下这个底部,这个是相当随意的,但我选择把我的字符串格式化成这样:,所以在这个底部我打印输出,提醒一下,这是一个只打印出,小数点后一位的方法。
应用推荐