From: Adrian Fraiha Date: 2006-07-23T08:24:15+09:00 Subject: Function for integers to displayed with same number of digit Is there or a function, or anyone know of a hack without using if else statements extensivley to have numbers displayed, such as 1 as 0001, 100 as 0100, 1000 as 1000 etc? Anyhelp is appreciated, thanks! -- Posted via http://www.ruby-forum.com/.