in reply to Zero padding numbers (was: Ok, here's an easy one)

I think I found it...

$num = sprintf("%.2u", $num);

guess I should have gave myself more time. Sorry to be wasting space for a stupid question.