And the final constructor takes the string of characters "100" — but this time creates an integer using base 8, which is more commonly known as base octal.
最后一个构造函数也采用了字符串“100”——但是它使用基数8来创建整数值,通常称为八进制。
Here is a base 8 (octal) EWU value calculation in Korn Shell 93 syntax.
下面是以Korn Shell 93语法计算基数8(八进制)ewu值的代码。
Python provides support for octal (base 8) and hexadecimal (base 16) Numbers.
Python可以提供对八进制(以8为基数)和十六进制(以16为基数)数字的支持。
应用推荐