⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
78.40.11.138
Server:
Linux tango.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
ruby19
/
share
/
ri
/
1.9.1
/
system
/
BigDecimal
/
Edit File: divmod-i.ri
U:RDoc::AnyMethod[iI"divmod:ETI"BigDecimal#divmod;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"IDivides by the specified value, and returns the quotient and modulus;TI"Nas BigDecimal numbers. The quotient is rounded towards negative infinity.;To:RDoc::Markup::BlankLine o; ; [I"For example:;T@o; ; [I"require 'bigdecimal';T@o; ; [I"a = BigDecimal.new("42");TI"b = BigDecimal.new("9");T@o; ; [I"q,m = a.divmod(b);T@o; ; [I"c = q * b + m;T@o; ; [I"a == c -> true;T@o; ; [I"NThe quotient q is (a/b).floor, and the modulus is the amount that must be;TI"added to q * b to get a.;T: @file000[ I" (p1);FI" ext/bigdecimal/bigdecimal.c;T
Simpan