mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DIC] Fix typo in documentation
This commit is contained in:
parent
6778d321a7
commit
8b4d2a5014
Notes:
git
2022-05-27 20:19:26 +09:00
Merged: https://github.com/ruby/ruby/pull/5962 Merged-By: nobu <nobu@ruby-lang.org>
1 changed files with 3 additions and 3 deletions
|
@ -667,9 +667,9 @@ num_div(VALUE x, VALUE y)
|
|||
*
|
||||
* For \Rational +r+ and real number +n+, these expressions are equivalent:
|
||||
*
|
||||
* c % n
|
||||
* c-n*(c/n).floor
|
||||
* c.divmod(n)[1]
|
||||
* r % n
|
||||
* r-n*(r/n).floor
|
||||
* r.divmod(n)[1]
|
||||
*
|
||||
* See Numeric#divmod.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue