The number is in seconds but may be a floating point value.
刷新时间的单位为秒,但可能是浮点值。
Note that, following the paradigm of the DB2 Spatial Extender, the offset is subtracted from the floating point value before the scale factor is multiplied in.
注意,按照DB 2 Spatial Extender范例,在乘上比例系数之前,浮点值要减去偏移量。
Note that, in this example, sum must be initialized to an explicit floating-point value; otherwise, all the subsequent computations will be done using integer arithmetic.
注意,在本例中,sum 必须被初始化为一个显式的浮点值;否则,所有后续计算都将使用整数运算计算。
C So here I'm declaring a variable called c, and I'm pretty much translating the formula from the slide using the characters on my keyboard to a floating point value.
这里我声明了一个变量,然后我把那个幻灯片上的公式,用键盘上的字符翻译成了,浮点数值。
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.
它直接把小数点后面的数值丢弃掉了,因为,凭直觉,那些整型数和结果应该是一个浮点数据,但是我需要一个更精确的数值。
So what that means is the compiler is actually going to first "cast" so to speak 13 from whatever it is - to a float -- to a floating point value -- and then perform the division for us.
所以这里的意思是编译器将,做“计算“,譬如13这样一个浮点数,-到另一个浮点数-,然后为我们处理除法。
应用推荐