Sha256: 9ee353be32a3692f442a99998ba64187252430b2e5fd95e87c208415933130e8
Contents?: true
Size: 1.58 KB
Versions: 12
Compression:
Stored size: 1.58 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name: Float:@docstringIC:YARD::Docstring" Returns <i>arg</i> converted to a float. Numeric types are converted directly, the rest are converted using <i>arg</i>.to_f. As of Ruby 1.8, converting <code>nil</code> generates a <code>TypeError</code>. Float(1) #=> 1.0 Float("123.456") #=> 123.456 :@objectu:YARD::StubProxyKernel#Float: @summary0: @all"6Returns <i>arg</i> converted to a float. Numeric types are converted directly, the rest are converted using <i>arg</i>.to_f. As of Ruby 1.8, converting <code>nil</code> generates a <code>TypeError</code>. Float(1) #=> 1.0 Float("123.456") #=> 123.456 @overload Float(arg) @return [Float]:@ref_tags[ : @tags[o:YARD::Tags::OverloadTag ; u;Kernel#Float;;;IC; "