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.
一个浮点型数据就是一个,带小数点的数。
So unlike an int, this is the type of number that can have numbers after a decimal place.
所以,不同于int,这个类型的数字,可以有小数位。
应用推荐