add convert from float to int