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
What is warning – “cannot modify header information – headers already sent”?
How do I display php errors?
What is use of mysqli_query in php?
How to create a table using php?
What is nan value?
What is a static variable in php?
What is the difference between characters and #?
What is curl php?
What does type casting mean in php? Explain with an example?
What is pdo classes?
Do you know how to enable error reporting in php?
How to assigning a new character in a string?
Where is my php ini file?
Starting or restarting a computer is called
Which of the data type is compound datatype supported by PHP?