将小数值按指定的小数位数舍入。
Rounds a decimal value to a specified number of fractional digits.
将双 精度浮 点值按指定的小数位数舍入。
Rounds a double - precision floating - point value to the specified number of fractional digits.
将数字四舍五入到某个小数位数(不能是零)。
Rounding a number to a particular (non-zero) number of decimal places.
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,请注意在小数点后面,会打印几位数呢--两位?
应用推荐