PHP – Round Up To The Next 10

It was pretty hard to find this bit of PHP code on the web so im posting it here in the vain hope that it will help others. It wil also work for other numbers, just replace the 10s with whatever you wish to round up to, ie. 100 or 1000.

Happy Coding :)

Please follow and like us:

Paul Brown

43 Year Old Web Developer

Leave a Reply

Your email address will not be published. Required fields are marked *