How I get zerofill field?


#1

How I get zerofill field?
I’m getting the value, but with no zeroes.

Thanks a lot.


Daniel K.


#2

Solved!
value.to_s.rjust(limit, ‘0’)

Thanks nobody!

On 11/23/05, Daniel K. removed_email_address@domain.invalid wrote:

How I get zerofill field?
I’m getting the value, but with no zeroes.

Thanks a lot.


Daniel K.


Daniel K.