Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Float
/
//opt/alt/ruby27/share/ri/system/Float/to_d-i.ri
U:RDoc::AnyMethod[iI" to_d:ETI"Float#to_d;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"3Returns the value of +float+ as a BigDecimal. ;TI"BThe +precision+ parameter is used to determine the number of ;TI"Csignificant digits for the result (the default is Float::DIG).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"require 'bigdecimal' ;TI"require 'bigdecimal/util' ;TI" ;TI"!0.5.to_d # => 0.5e0 ;TI""1.234.to_d(2) # => 0.12e1 ;T:@format0o; ; [I"See also BigDecimal::new.;T: @fileI"*ext/bigdecimal/lib/bigdecimal/util.rb;T:0@omit_headings_from_table_of_contents_below0I"Ofloat.to_d -> bigdecimal float.to_d(precision) -> bigdecimal ;T0[ I"(precision=Float::DIG);T@FI" Float;TcRDoc::NormalClass00