(int)(x*1000.0)/1000.0
x-(int)x
round(x*100.0)/100.0
round(x/100.0)*100.0