Hello,
I need to display number in 3 digit instead by defaul digit.
e.g.
val = 5
puts #{val}

will give me answer as 5
but need to display output in 3 digit only like 005.

Can anyone suggest me solution for this.

Thanks,
raju

-- 
Posted via http://www.ruby-forum.com/.