Publisher review:PHP Pad Numbers will format all numbers to be two digits, inserting a 0 if they're under 10 - creating, for example, 09 instead of 9. Sometimes I need numbers to always be two digits, even if they're less than 10. The below snippet will format all numbers to be two digits, inserting a 0 if they're under 10 - creating, for example, 09 instead of 9.
PHP Pad Numbers is a PHP script for Snippets scripts design by nothingless.
It runs on following operating system: Windows / Linux.
Operating system:Windows / Linux