A function whose domain is all reals and whose range is all integers.

the common "greatest integer" or "floor" function:

f(x) = ⌊x⌋
defined as the greatest integer less than or equal to x.