Well, suppose we had decimal numbers.
假设我们有10进制数。
But all of you in this room probably remember what we technically call the base 10 system or decimal system because back in grade school or the like, you learned to count and add and subtract numbers by way of columns.
但是,在座的每一位可能都记得,这在小学的时候学的,以10为进制的系统或者十进制系统,通过数列方式学习数数和加减法。
Seventy-nine. In fact, if you add up each of these numbers, 9 you should get the decimal number 79 79 from this binary number here.
9,事实上,如果你把这些数字累加,你应该能从这些二进制中9,得到十进制数。
Something with a decimal point and numbers thereafter.
也就是小数点后还有数字。
So unlike an int, this is the type of number that can have numbers after a decimal place.
所以,不同于int,这个类型的数字,可以有小数位。
应用推荐