将整数四舍五入到最接近的千位

Round integer to nearest thousand

有没有办法对整数进行四舍五入

73400 -> 73000

73500 -> 74000

int number = 73400
return round(number/1000.0)*1000