Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php format int to 9 digits with preceding zeroes

str_pad($input, 9, "0", STR_PAD_LEFT);
 
PREVIOUS NEXT
Tagged: #php #format #int #digits #preceding #zeroes
ADD COMMENT
Topic
Name
2+9 =