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