make int and float compatible