blob: 02666ae7d784a2ccacec926300fd2e2180097360 (
plain)
1
2
3
4
5
6
7
8
9
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "Float#to_f" do
it "returns self" do
-500.3.to_f.should == -500.3
267.51.to_f.should == 267.51
1.1412.to_f.should == 1.1412
end
end
|