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 would you declare a function that receives one parameter name hello?
What is meant by an associative array?
What is isset php?
Which is better mysql or sql?
Which php framework is best for beginners?
What is the difference between php and javascript?
What does php do?
What are the uses of php language?
Which escape sequences can be used in single quoted strings in php?
What is use of echo in php?
How to protect special characters in query string?
What is the content of /etc directory?
How can you propagate a session id?
What is the difference between explode () and split () functions in php?
Explain the difference between session and cookies in php?