Ceiling and floor functions

  • Thread starter matqkks
  • Start date
  • #1
201
2

Main Question or Discussion Point

Does anyone know of any real life application of ceiling and floor functions?
 

Answers and Replies

  • #2
D H
Staff Emeritus
Science Advisor
Insights Author
15,393
683
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.
 
  • Like
Likes 1 person

Related Threads on Ceiling and floor functions

  • Last Post
Replies
5
Views
2K
Replies
1
Views
5K
Replies
4
Views
791
Replies
4
Views
528
Replies
6
Views
5K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
18
Views
2K
Replies
11
Views
2K
  • Last Post
Replies
8
Views
2K
Top