Difference between revisions of "Floor function"

m (Floor moved to Floor function: Function added to title)
Line 1: Line 1:
The greatest integer function, or the floor function, finds the greatest integer less than its argument.  The floor of <math>x</math> is often denoted by <math>\lfloor x \rfloor</math>.
+
The '''greatest integer function''', also known as the floor function, gives the greatest integer less than or equal to its argument.  The floor of <math>x</math> is usually denoted by <math>\lfloor x \rfloor</math> or <math>[x]</math>.
  
 
For example:
 
For example:

Revision as of 12:29, 29 June 2006

The greatest integer function, also known as the floor function, gives the greatest integer less than or equal to its argument. The floor of $x$ is usually denoted by $\lfloor x \rfloor$ or $[x]$.

For example:

  • $\lfloor 3.14 \rfloor = 3$
  • $\lfloor -2.7 \rfloor = -3$
  • $\lfloor 5 \rfloor = 5$

See Also