I want to make sure a float in PHP is rounded up if any decimal is present, without worrying about mathematical rounding rules. This function would work as follows:
The official Ceil function will do that for you.
Taken from the example: