Project

General

Profile

Actions

Bug #388

closed

BigDecimal <=> Float # => nil

Added by pegacorn (pegacorn jp) over 16 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[ruby-dev:35732]

Description

=begin
[ruby-dev:35665]
% ruby -v
ruby 1.9.0 (2008-08-02 revision 18315) [i386-freebsd7.0]
% ruby -r bigdecimal -e 'p BigDecimal("1.0") <=> 1.0'
nil
% ruby -r bigdecimal -e 'p BigDecimal("1.0") == 1.0'
true
% ruby -r bigdecimal -e 'p BigDecimal("1.0") < 1.0'
false
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0