Shortest Floor Function Your task is to implement a floor function in as few bytes as possible.

A floor function is a function that takes a real number and returns the largest integer less than or equal to the input.

Your program should support both positive and negative inputs.  Since it is provably impossible to support all real numbers you need only support a reasonable subset of them.  This subset should include positive numbers, negative numbers and of course numbers that are not integers.  Such number systems include fixed-point numbers, floating point numbers and strings.

Your code may be a complete program or function.

This is code-golf so answers will be scored in bytes with less bytes being a better score.
PARI/GP (10)

In gp (and some other languages) x%1 gives the decimal part of x:

f(x)=x-x%1


NOTE: For negative x, x%1 returns (1 - abs(decimal part of x)), so the above works both for positive and negative numbers.