filter float and int