E elsewhere Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-11 #1 我有数据为float型,想对它进行简单的计算,如: (2.35E-1)/100后结果为:0.000234999999999985 我怎么才能得到结果0.00235?
L lcl_003 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-11 #2 用format或者 round(x*100000)/100000
U ugvanxk Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-12 #4 roundto((2.35E-1)/100, 5)
W wr960204 Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-13 #6 uses Math; SimpleRoundTo才是真正的四舍五入。