On 10/17/07, Thiago Jackiw <[EMAIL PROTECTED]> wrote:
> Yeah unfortunately I can't change that field, it has to be kept as
> integer.

Why is that?

> And also I don't think it would make any difference because
> when you eval the string "08817" or the number 08817 they both get the
> same error.

You probably forgot to include the quotes when you tested this.

irb(main):005:0* eval('"08817"')
=> "08817"
irb(main):006:0> eval('08817')
SyntaxError: (eval):1:in `irb_binding': compile error
(eval):1: Illegal octal digit
08817
  ^
        from (irb):6
        from (irb):6
irb(main):007:0>

-Yonik

Reply via email to