You can either have a big number and a small decimal point or small number and a big decimal point.
可以小数点前面长,后面短,或者,前面短,后面长。
It just throws the decimal point away and that's because, again, these are ints and the answer intuitively should be a floating point value, but I need to be more specific.
它直接把小数点后面的数值丢弃掉了,因为,凭直觉,那些整型数和结果应该是一个浮点数据,但是我需要一个更精确的数值。
And I said I'm giving you three decimal digits.
我说给你们3个10进制数。
So, you can understand they really felt quite confident at this time that we could explain everything that was going on and in fact, a really telling quote from the time was said by a professor at the University of Chicago, and what he said is, "Our future discoveries must be looked for in the sixth decimal place."
所以你可以理解,为什么当时的人那么,自信的说我们可以解释,这世界上发生的一起事情,事实上,当时有个著名的名言,是芝加哥大学的一个教授说的,他说“我们今后的科学发现,就在于弄清楚小数点第六位后的数,“
And there's probably more digits after the decimal place, but because of my formatting string, I only see a couple of them.
这里可能有更多的小数位,但因为我对结果设定了格式,我们只看到两位。
And just like in the decimal system, 0 as many zeros on the left that you want.
就像在十进制中,任意放置。
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为进制的系统或者十进制系统,通过数列方式学习数数和加减法。
But at the end of the day, and here's why we just went with binary and not decimal years ago, when you have one implement a computer with a physical device, it's actually really easy to represent the notion of on or off.
但是最终,之前我们采用二进制,而不是十进制,主要是因为当我们用一台实体机器运行计算机时,这实际上很容易用开或者关的概念来表示。
Something with a decimal point and numbers thereafter.
也就是小数点后还有数字。
If I go back to that code from a moment ago, and I just rerun math3, notice how many places printed after the decimal point -- two?
如果刚才我回到那段代码中去,我们回到math3,请注意在小数点后面,会打印几位数呢--两位?
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意思是十。
应用推荐