📅  最后修改于: 2022-03-11 14:51:53.403000             🧑  作者: Mango
If intMyNumber Mod 1000 >= 500 Then
intResult = intMyNumber + 1000 - intMyNumber Mod 1000
Else
intResult = intMyNumber - intMyNumber Mod 1000
End If