Formatting and Integer

btisdabomb

Member
Joined
Jul 12, 2006
Messages
16
Programming Experience
Beginner
Is it possible to format an integer without converting it to a string? I want to convert a number like 4 to 0004. I know I can do this using int.ToString.PadLeft(4, "0"c) but is there a way to do this without converting it to a string or other type variable?

 
Back
Top