Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Rational
/
//proc/self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Rational/to_d-i.ri
U:RDoc::AnyMethod[iI" to_d:ETI"Rational#to_d;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"'Returns the value as a BigDecimal.;To:RDoc::Markup::BlankLine o; ; [I"KThe required +precision+ parameter is used to determine the number of ;TI"'significant digits for the result.;T@o:RDoc::Markup::Verbatim; [ I"require 'bigdecimal' ;TI"require 'bigdecimal/util' ;TI" ;TI",Rational(22, 7).to_d(3) # => 0.314e1 ;T:@format0o; ; [I"See also BigDecimal::new.;T: @fileI"*ext/bigdecimal/lib/bigdecimal/util.rb;T:0@omit_headings_from_table_of_contents_below0I"(rat.to_d(precision) -> bigdecimal ;T0[ I"(precision);T@FI" Rational;TcRDoc::NormalClass00