古詩詞大全網 - 四字成語 - VB如何四舍五入

VB如何四舍五入

使用round函數:返回壹個數值,該數值是按照指定的小數位數進行四舍五入運算的結果。

例如:round(3.25,1)=3.3

round(4.225,2)=4.23

round(5.395,2)=5.40