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 can I embed a java program in php file and what changes have to be done in php.ini file?
What is csrf token and how it works?
Write a query to find the 2nd highest salary of an employee from the employee table?
Can php run on windows server?
How is it possible to return a value from a function?
Difference between get and post method.
What are the uses of explode() function?
Is php 7 backwards compatible?
What is the main difference between php 4 and php 5?
Why use php artisan serve?
What is mysqli_real_escape_string?
Is set in php?
What is the use of explode() function?
What is mod_php?
Is empty in excel?