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 are interfaces in php?
What is mean by an associative array?
How to redirect https to http url through .htaccess?
Explain what is the use of "echo" in php?
Do loops php?
Does wordpress run on php 7?
Is salary fixed or variable cost?
What does session start do in php?
What is php sequence?
Do you know what does $globals means?
Tell me how can we display information of a variable and readable by human with php?
What is "print" in php?
Is nan in php?
How is it possible to cast types in php?
What is varchar mysql?