+ 1
Hepl me to understand this program
4 ответов
+ 1
Sindhuja Selvakumar
When you round up a value normally, 3.4 is converted to 3 and 3.6 is converted to 4.
But when you use CEIL, you are telling the program to round the value to the greater integer (3.1 is rounded to 4).
Floor rounds it off to the smaller value so 3.9 is rounded to 3.
+ 1
Thanks ..now i can understand this
0
it roundd up PI to the nearest greater integer.
pi=3.1415... the nearest greater integer is 4