Ruby 2.0.0 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Bignumクラス > remainder

instance method Bignum#remainder

remainder(other) -> Fixnum | Bignum | Float[permalink][rdoc]

self を other で割った余り r を返します。

r の符号は self と同じになります。

[PARAM] other:
self を割る数。

[SEE_ALSO] Bignum#divmod, Bignum#modulo, Numeric#modulo