以前一直没注意,今天发现个问题。
Dim a As Double = 215.91Dim b As Double = 43.5Dim c As Double = a*b
Output.show(c)Output.show(Round2(c,2))
结果是:
9392.0859392.08
没有四舍五入啊。