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:
Use the ceil function:
$number = ceil(1.1); //2