how to see the logic behind round function in php code example Example: round up built in function php echo ceil(0.5); //Prints 1