+ 1
9th Apr 2020, 9:43 AM
Sindhuja Selvakumar
Sindhuja Selvakumar - avatar
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.
9th Apr 2020, 10:03 AM
maf
maf - avatar
+ 1
Thanks ..now i can understand this
11th Apr 2020, 8:10 AM
Sindhuja Selvakumar
Sindhuja Selvakumar - avatar
0
it roundd up PI to the nearest greater integer. pi=3.1415... the nearest greater integer is 4
9th Apr 2020, 9:50 AM
John Robotane
John Robotane - avatar