在小数部分尾数加0将被废弃.
Trailing zeroes in the decimal portion are discarded.
教师揭示:小数部分的位数是有限的小数,叫做有限小数。
Teacher : if the decimal place is finite , the decimal is called a finite decimal.
整数与小数部分可一次性进行转换。
Integer part and decimal part can be once conversed in this method.
如何更改打印结果小数部分的有效位数?
How to modify the decimal when printing the results?
编辑浮点值时,由于要将小数部分从十进制转换为二进制,因此所得的结果可能存在微小误差。
Editing floating-point values can result in minor inaccuracies because of decimal-to-binary conversion of fractional components.
把数分成整数和小数部分,然后分别转换各部分,便可将十进制数转换成基数计数制下对应的数。
Conversion from decimal to its equivalent representation in the radix r system is carried out by separating the number into its integer and fraction parts and converting each part separately.
如果将不足一天的时间间隔转换为小数部分,则可能会发生精度损失。
Converting time intervals of less than a day to a fraction can involve a loss of precision.
如果将不足一分钟的时间间隔转换为小数部分,则可能会发生精度损失。
Converting time intervals of less than a minute to a fraction can involve a loss of precision.
这回我们搞个有趣的,把秒定义为double型,以便记录秒的小数部分。
Just to keep things interesting, let's make secondadouble, so we can record fractions of a second.
-
小数
decimal; fraction; decimal fraction; fractional
-
部分
part; piece; portion; section; segment; division; slice; aspect; zone; facet; partial; fractional; some; partially; partly; in part; semi-; demi-; sub-; pt; pt. (short for part)

中英释义: