From: ts Date: 2006-02-26T00:16:53+09:00 Subject: Re: Inconsistent Behavior Converting String to Integer/Float >>>>> "D" == Daniel Harple writes: D> $ruby-yarv -v D> ruby 2.0.0 (Base: Ruby 1.9.0 2006-02-14) [powerpc-darwin8.5.0] D> YARVCore 0.4.0 Rev: 466 (2006-02-22) [opts: ] You have a problem with your version of yarv uln% ruby -ve 'num = "+3"; p num, Float(num), Integer(num)' ruby 1.9.0 (2006-02-24) [x86_64-linux] "+3" 3.0 3 uln% uln% ruby-yarv -ve 'num = "+3"; p num, Float(num), Integer(num)' ruby 2.0.0 (Base: Ruby 1.9.0 2006-02-14) [x86_64-linux] YARVCore 0.4.0 Rev: 475 (2006-02-23) [opts: ] "+3" 3.0 3 uln% Guy Decoux