Ceiling and floor functions

  • Thread starter matqkks
  • Start date
  • #1
matqkks
205
5
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,415
687
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

Suggested for: Ceiling and floor functions

  • Last Post
Replies
5
Views
2K
Replies
1
Views
5K
Replies
4
Views
1K
Replies
6
Views
6K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
18
Views
2K
Replies
4
Views
763
Replies
9
Views
831
Replies
11
Views
2K
  • Last Post
Replies
19
Views
5K
Top