From: Kenta Murata Date: 2011-05-09T17:24:44+09:00 Subject: [ruby-core:36052] [Ruby 1.9 - Bug #4655][Closed] String#to_c does not support scientific notation Issue #4655 has been updated by Kenta Murata. Status changed from Open to Closed ---------------------------------------- Bug #4655: String#to_c does not support scientific notation http://redmine.ruby-lang.org/issues/4655 Author: Tinco Andringa Status: Closed Priority: Normal Assignee: Yukihiro Matsumoto Category: core Target version: 1.9.3 ruby -v: - 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