Well, if we actually want to represent something like the number 7, well in binary, not actually in decimal like this.
如果你表达,类似于7的数字,在二进制中,它和十进制可不太一样。
You can either have a big number and a small decimal point or small number and a big decimal point.
可以小数点前面长,后面短,或者,前面短,后面长。
What's the biggest number you can represent with three decimal digits? Pardon?
你们想用这3个十进制数表示什么?,请再说一遍?
So a floating point value again is a number with a decimal point, so it depends.
一个浮点型数据就是一个,带小数点的数。
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,得到十进制数。
So unlike an int, this is the type of number that can have numbers after a decimal place.
所以,不同于int,这个类型的数字,可以有小数位。
If we need a 7, this is the ones column, the twos, fours, eights, so here are our columns and this was our decimal system a moment ago, and I wanna express the number 7 and the only digits 0 I now have access to are zero and one, whereas, in decimal, dec meaning 10.
如果你需要7,这是一位,二位,四位,八位,这是位数,刚才说的十进制的位数,我想表达7而且,只能采用数字1与,在十进制中,dec意思是十。
应用推荐