提前猜出答案,把小数点位数都去掉。
Guess the answer ahead of time and strip all the decimal places off.
我的评论提到,大多数浮点值不具有一个有限的小数点位数。
As mentioned in my comment, most floating point values does not have a finite number of decimals.
介面美化更新,功能增加,小数点位数选择、汇率换算、全屏幕显示。
Graphic user interface updates, select the number of decimal places, currency converter and full screen mode.
这个数目精确到小数点后三位数。
Scale设置小数点右侧的位数。
Scale sets the number of digits to the right of the decimal.
如果刚才我回到那段代码中去,我们回到math3,请注意在小数点后面,会打印几位数呢——两位?
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?
salary列的数据类型为DECIMAL(长度为9,小数点后位数为2)。
BONUS列的数据类型为DECIMAL(长度为9,小数点后位数为2)。
所以这里有一个解决方案:,如果你需要比float类型允许的更高精度,小数点后更多位数,那你该用什么取代它?
So it turns out there's a solution to this: If you need more precision, more digits after the decimal point than a float allows, what do you go for instead?
getScale,用于确定参数在小数点后支持的小数位数。
GetScale to determine the number of decimal digits after the decimal point that a parameter will support.
Precision是指小数点左右的总位数。
Precision is the total number of digits both left and right of the decimal.
IP地址是由0到255之间的4位数字组成,有小数点分开。
IP addresses consist of four Numbers between 0 and 255, separated by decimals.
如果把结果算在小数点后两位数,将最低程度地减少可能的误差。
If you calculate the result to two decimal places, that should minimize any possible errors.
Lehrer:你是如何能背诵圆周率小数点后22514位数的?
LEHRER: How were you able to recite from memory the first 22, 514 Numbers of Pi?
此命令所指定的值的小数点后超过3位数。
The value given by the command specifies more than 3 digits after the decimal point.
只有一行输出,将求出的面积按8位数字输出,且小数点后只保留2位(译注:前面不够8位的以空格填充)。
Output will consist of a single line containing the desired area written as a succession of eight (8) digit fields with two (2) digits after the decimal point.
在一个单片机系统的基础之上,实现不多于六位数字(包括符号和小数点)的输入。该单片机系统由80c196 KC单片机和矩阵键盘电路组成。
Based on a system of SCM, realizing the input of digits (including of symbols and decimal) which is less than six bits, the system of SCM is composed of 80c196kc and matrix keyboard.
着重阐明了计算结果只能表示到整数或小数点后的位数。
Meanwhile, the results should only by expressed in integral number or the number following the decimal point.
尽管小数点的位数很小,但是它是很关键的。
Although the decimal point is little, it's a big deal to the whole.
对2002年1月1日之后新投产的太阳能电站该最低偿付标准每年分别下降5%,数额计算到小数点后一位数。
On January 1, 2002 that the new solar power plant went into operation in the minimum standards for each of the down payment of 5%, the amount calculated to one decimal number.
BCD字段类型使用了货币类型,这种类型是小数点后是4位数。
This is because TBCDField uses the currency data type that has a fixed scale of 4 decimal places.
如果你真的要数小数点后的位数,你可能要转换为字符串,删除任何尾随零,看看小数点落在哪里。
If you actually want to count the number of decimals, you'd probably have to convert to a string, remove any trailing zeroes, and see where the decimal point landed.
如该系数多于两个小数位,则会调整至小数点后最相近的两位数值。
Where there are more than 2 decimal places in the Module Weighted Value, the value will be rounded off to the nearest 2 decimal places.
Maxwell自己也曾提到很多物理学家相信他们的研究只剩下测量物理学常数的更精确数值“到小数点后更多位数。”
Maxwell himself mentioned that many physicists believed the trend in their field was merely to measure the values of physical constants "to another place of decimals."
确定数字的字符串表示形式要在小数点左边保留的位数。
Determine how many digits to the left of the decimal you want the string representation of the number to have.
确定数字的字符串表示形式要在小数点左边保留的位数。
Determine how many digits to the left of the decimal you want the string representation of the number to have.
应用推荐