From: matz@... (Yukihiro Matsumoto) Date: 2000-12-20T13:46:41+09:00 Subject: [ruby-talk:7735] Re: "1_000".to_i == 1 bug? Hi, In message "[ruby-talk:7714] "1_000".to_i == 1 bug?" on 00/12/20, Aleksi Niemel� writes: |Actually I'm not sure if this is bug, as it could be also a designed |feature, but: | | ruby -e'p "1_000".to_i' | 1 | |instead of 1000 what I'd expect. It's OK, buf why should we restrict '_' in non base 10 strings, where % ruby -e 'p 0xff_ff' works fine? matz.