Added float-int check