Floor, Ceiling, and Round
Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Move the sliders to plot the cubic equation , then pick one of the three functions.[more]
Floor, or the greatest integer function, gives the greatest integer less than or equal to a given value. Some examples: , , , , and .
Round, or the nearest integer function, gives the nearest integer. For an integer and a half, rounding goes to the nearest even number. Some examples: , , , , and .
Ceiling, or the least integer function, gives the least integer greater than or equal to a given value. Some examples: , , , , and .[less]
Contributed by: Ed Pegg Jr (March 2011)
Open content licensed under CC BY-NC-SA