Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > bigdecimalライブラリ > BigDecimalクラス > remainder
remainder(n)
詳細は Float#remainder を参照して下さい。