Question : php format int to 9 digits with preceding zeroes
Answered by : gabe-m
str_pad($input, 9, "0", STR_PAD_LEFT);
Source : | Last Update : Wed, 17 Jun 20
Answered by : gabe-m
str_pad($input, 9, "0", STR_PAD_LEFT);
Source : | Last Update : Wed, 17 Jun 20