PHP怎样在不足两位数前加 0 补足两位数呢PHP怎样在不足两位数前加 0 补足两位数呢------解决方案-------------------- PHP code$number=9;$number=sprintf ( "%02d",$number);echo $number; 로그인 후 복사