早睡早起,方能养生!
Sleep early rise early, square can preserve one's health!

数字补0

super
2020-09-27 17:44
views 521
$number = 1024;
echo sprintf('%02d', $number); // 1024
echo sprintf('%06d', $number); // 001024




分享
0 条讨论
top