我的评论提到,大多数浮点值不具有一个有限的小数点位数。
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?
所以这里有一个解决方案:,如果你需要比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.
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?
只有一行输出,将求出的面积按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.
对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.
显示数字资料型别的小数点右边可以出现的位数上限。
Shows the maximum number of digits that can appear to the right of the decimal point for numeric data types.
对2002年1月1日之后新投产的电站,本条第一款规定的最低偿付标准每年分别降低1%,数额计算到小数点后一位数。
To January 1, 2002 after the commissioning of new power plants, the first paragraph of this section, the minimum payment standards for each reduced by 1%, the amount calculated to one decimal number.
数值数据类型的小数位数是小数点右侧的位数。
The scale of a numeric data type is the number of digits to the right of the decimal point.
取得或设定货币值内小数点左边数字的各个群组中的位数。
Gets or sets the string that separates groups of digits to the left of the decimal in percent values.
基于数字温度传感器ds18b20的测温仪设计,三位数码管显示温度值,保留小数点后一位。
Digital temperature sensor based on the thermometer DS18B20 design, the three digital display temperature, keep one decimal place.
可选项。指示小数点右侧显示位数的数值。默认值为- 1(指示使用的是计算机的区域设置)。
NumDigAfterDec Optional. Indicates how many places to the right of the decimal are displayed. Default is -1 (the computer's regional Settings are used).
他是南北朝时期伟大的数学家、天文学家和物理学家,他精确推出圆周率小数点后七位数字,比欧洲早一千一百多年。
This great mathematician, astronomer and Physicist in the Northern and Southern Dynasties computed the seven figures after the decimal point Pi accurately, over 1100 years earlier than that in Europe.
他是南北朝时期伟大的数学家、天文学家和物理学家,他精确推出圆周率小数点后七位数字,比欧洲早一千一百多年。
This great mathematician, astronomer and Physicist in the Northern and Southern Dynasties computed the seven figures after the decimal point Pi accurately, over 1100 years earlier than that in Europe.
应用推荐