Displaying 1 result from an estimated 1 matches for "orangegecko".
2006 Jul 04
4
adding 0 to beginning of a number
Hi
Is there a quick way to add 0 to the beginning of a number if it only
has one digit?
ie
1 should be 01
11 should stay as 11
(These int''s can be transferred to a string)
Thanks
--
Posted via http://www.ruby-forum.com/.