+ 1
Int Operations with Decimal Results?
Do int operations with decimal results floor or ceiling the result? Like how the example problem gives 15/4, does it always floor, always ceiling, or depend on being above or below half?
2 Answers
+ 1
It doesn't floor or ceil itself.
0
It just performs (euclidean) division
How many times does 4 go into 15?