in reply to Zero padding numbers (was: Ok, here's an easy one)
$num = sprintf("%.2u", $num);
guess I should have gave myself more time. Sorry to be wasting space for a stupid question.