converting from float to int