Sha256: 009798d0b7a5056385dbb7c29d21ff508934873fbd559369f7f1bba720777dcb
Contents?: true
Size: 268 Bytes
Versions: 83
Compression:
Stored size: 268 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' describe "Float#round" do it "returns the nearest Integer" do 5.5.round.should == 6 0.4.round.should == 0 -2.8.round.should == -3 0.0.round.should == 0 end end
Version data entries
83 entries across 83 versions & 1 rubygems