0 before the number

Posted by Luca Romagnoli on Stack Overflow See other posts from Stack Overflow or by Luca Romagnoli
Published on 2010-06-18T08:39:54Z Indexed on 2010/06/18 8:43 UTC
Read the original article Hit count: 271

Filed under:
|

hi, i have an int. i want print it in this format: ex.

1 -> 000001
15 -> 000015

How can i do? thanks

© Stack Overflow or respective owner

Related posts about ruby

Related posts about integer