Project

General

Profile

Actions

Bug #3790

closed

Float('0x') がエラーにならない

Added by tadf (tadayoshi funaba) over 13 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-09-04) [i686-linux]
Backport:

Description

=begin
Float('0x') がエラーにならない。

Integer('0x') # ArgumentError: invalid value for Integer(): "0x"
Float('0x') #=> 0.0
=end

Actions

Also available in: Atom PDF

Like0
Like0