C (tcc), 39 21 10 bytes
I was actually quite surprised nobody thought of using C.
f(intfloat i){}
This is not an identity function as it seems to be. The implicit int type of the f function trunctuates the floating-point.
Less likely to trick people but has a shorter byte length:
f(int i){}