Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Floor functions

  1. Nov 21, 2004 #1
    Could someone explain me what floor functions are and what is their purpose? And how they work?
    Also if you can give me an example of a function that has the floor function in it, it would be helpful.
  2. jcsd
  3. Nov 21, 2004 #2


    User Avatar
    Science Advisor
    Homework Helper


    The floor function [itex]\lfloor x \rfloor[/itex], also called the greatest integer function, gives the largest integer less than or equal to x. (So you're rounding x down to the nearest integer).

    The site has the graph of this function plotted.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook