in reply to Number Padding

$num = sprintf("%02d", $num);