VBNET Round to Nearnest Mils

If intMyNumber Mod 1000 >= 500 Then
	intResult = intMyNumber + 1000 - intMyNumber Mod 1000
Else
	intResult = intMyNumber - intMyNumber Mod 1000
End If
Salty Joe