replace float to integer