1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Ceiling and floor functions

  1. Sep 5, 2013 #1
    Does anyone know of any real life application of ceiling and floor functions?
  2. jcsd
  3. Sep 5, 2013 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    Whenever you run across some mathematical function that has a name, a consistent meaning, and even a special set of symbols you should *know* that this function has a very widespread use.

    There are all kinds of uses for ceiling, floor, and related concepts such as rounding. One example: Fractional pennies don't exist, yet a number of calculations will yield fractional pennies. What to do with those things? If you're being fair you'll try to round so that sometimes the customer wins, sometimes the seller wins, but on average, it comes out even. If you're not being fair, there are lots of nefarious salami slicing schemes that let those fractional pennies pile up (in your account of course) and eventually yield lots of dollars.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook