RFIX

Rfix simply returns any rational number argument unchanged,
returning 0 on a non-rational argument. Also see nfix,
see ifix, see realfix, and see fix for analogous
functions that coerce to a natural number, an integer, a real, and a
number, respectively.