Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (8 sloc) 0.217 kb
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
Jump to Line
Something went wrong with that request. Please try again.