This topic has been archived. It cannot be replied.
-
工作学习 / IT杂谈 / 有没有VBScript 函数可以作保留2位小数四舍五入的运算。谢谢。
-fengvan(Sunny);
2002-4-24
(#478035@0)
-
No. Write your own.
-jeffrey815(Smartiecat);
2002-4-24
(#478038@0)
-
format
-nice2002(nice2002);
2002-4-24
(#478161@0)
-
round
-ion(ion);
2002-4-24
(#478194@0)
-
i think this is correct.
-antmm(飘);
2002-4-24
(#479219@0)
-
formartnumber(XX,2)
-benbendan(笨笨蛋);
2002-4-24
(#479139@0)
-
n=round((n*100+0.5)/100),老把戏了,嘿嘿。
-pasu(InTheSky);
2002-4-24
(#479232@0)
-
thank you !
-fengvan(Sunny);
2002-4-24
(#479264@0)
-
啊,错了错了,应该是n=round(n*100+0.5)/100,唉,好久没写代码,都生疏了。
-pasu(InTheSky);
2002-4-24
(#479272@0)