roundup upto 2 decipal places in php code example Example: round to 2 decimal places php round(520.34345, 2); // 520.34