Answer Posted / paul
ceil() give you the upper number of a fraction.
eg.
ceil(3.0)=3
ceil(3.1)=4
ceil(3.3)=4
ceil(3.5)=4
ceil(3.7)=4
floor() does ceil()'s opposite it returns the lower number
of the fraction
floor(3.0)=3
floor(3.1)=3
floor(3.3)=3
floor(3.5)=3
floor(3.7)=3
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
How to execute an sql query? How to fetch its result?
What is the capacity of mysql database?
Name and explain five of the PHP error constants?
Which is true about the singleton design pattern?
Is php outdated 2019?
Php being an open source is there any support available to it?
Do you know how to get the ip address of the client?
Write a statement to show the joining of multiple comparisons in php?
How can you retrieve a cookie value?
How is it possible to parse a configuration file?
What does odbc do in context with php?
What are the steps for the payment gateway processing?
What are the benefits of using queries?
What is the difference between file_get_contents() and file_put_contents() in php?
Do loops php?