るりまサーチ

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.010秒)
トップページ > クラス:Integer[x] > クエリ:numeric[x] > ライブラリ:mathn[x]

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric %
  4. numeric i
  5. numeric +@

検索結果

Integer#/(other) -> Numeric (104.0)

Fixnum#quo と同じ働きをします(有理数または整数を返します)。

...Fixnum#quo と同じ働きをします(有理数または整数を返します)。

例:

10 / 3 # => 3

require 'mathn'
10 / 3 # => (10/3)...