add different process to integer and float