this should work,

=IFERROR(REPT(0,10-LEN(A1))&A1,A1)

Edit: ace, You beat me to it.