るりまサーチ

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

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric coerce
  4. numeric ceil
  5. numeric numerator

検索結果

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

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

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

例:

10 / 3 # => 3

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