+ 3
Anyone please explain math.ceil()
10 Antworten
+ 4
Slick rounding up could mean anything for instance, nearest tenth, nearest thousandth, exc. That's why you need to be specific that it rounds up to a whole number.
+ 6
Slick to the next highest integer.
+ 5
math.ceil() rounds up
+ 5
Slick felt like completing the statement😁
+ 4
Has previous answers have said, math.ceil() rounds up to the nearest whole number
+ 3
ceil means the upper part and in math.ceil(4.2) means the upper value of 4.2. Which is 5
+ 2
Avinesh as opposed to..?
+ 1
The function moves up decimal fraction to a next number.
For instance, 2.1 moves to 3
decimal fraction - part of a number that comes after point (comma)
+ 1
it is useful to round up a decimal number