⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Complex
/
View File Name :
to_d-i.ri
U:RDoc::AnyMethod[iI" to_d:ETI"Complex#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"JThe +precision+ parameter is required for a rational complex number. ;TI"JThis parameter is used to determine the number of significant digits ;TI"for the result.;T@o:RDoc::Markup::Verbatim; [ I"require 'bigdecimal' ;TI"require 'bigdecimal/util' ;TI" ;TI"3Complex(0.1234567, 0).to_d(4) # => 0.1235e0 ;TI"8Complex(Rational(22, 7), 0).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"Kcmp.to_d -> bigdecimal cmp.to_d(precision) -> bigdecimal ;T0[ I"(*args);T@FI"Complex;TcRDoc::NormalClass00