+ 3
17th Nov 2020, 3:49 PM
RAVI
RAVI - avatar
10 odpowiedzi
+ 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.
17th Nov 2020, 4:06 PM
pNK
pNK - avatar
+ 6
Slick to the next highest integer.
17th Nov 2020, 4:00 PM
Avinesh
Avinesh - avatar
+ 5
math.ceil() rounds up
17th Nov 2020, 3:57 PM
Slick
Slick - avatar
+ 5
Slick felt like completing the statement😁
17th Nov 2020, 4:05 PM
Avinesh
Avinesh - avatar
+ 4
Has previous answers have said, math.ceil() rounds up to the nearest whole number
17th Nov 2020, 4:04 PM
pNK
pNK - avatar
+ 3
ceil means the upper part and in math.ceil(4.2) means the upper value of 4.2. Which is 5
19th Nov 2020, 5:28 AM
Niteesh
+ 2
Avinesh as opposed to..?
17th Nov 2020, 4:03 PM
Slick
Slick - avatar
+ 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)
18th Nov 2020, 6:38 AM
Timur Myngbay
Timur Myngbay - avatar
+ 1
it is useful to round up a decimal number
18th Nov 2020, 9:30 PM
Tomás Atrat