so how about sprintf?
and some code?
In reply to Re: Dropping Leading Zeros by Chady in thread Dropping Leading Zeros by Anonymous Monk