>>648
$str = sprintf ("%02d", $math);
これ?