From: Tinco Andringa Date: 2011-05-09T08:56:39+09:00 Subject: [ruby-core:36047] [Ruby 1.9 - Bug #4655] String#to_c does not support scientific notation Issue #4655 has been updated by Tinco Andringa. I've submitted a pull request for this bug: https://github.com/ruby/ruby/pull/16 ---------------------------------------- Bug #4655: String#to_c does not support scientific notation http://redmine.ruby-lang.org/issues/4655 Author: Tinco Andringa Status: Open Priority: Normal Assignee: Category: core Target version: ruby -v: ruby 1.9.3dev (2011-05-05 trunk 31435) [x86_64-darwin10.5.0] Specs have been added for this but I did not find an issue for it so I report it here. Example: assert_equals('2e3+2e4i'.to_c, Complex(2e3, 2e4)) -- http://redmine.ruby-lang.org