るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.024秒)
トップページ > バージョン:2.3.0[x] > クエリ:Float[x] > クエリ:Rational[x] > クエリ:bigdecimal/util[x]

別のキーワード

  1. _builtin rational
  2. rational **
  3. json/add/rational json_create
  4. json/add/rational to_json
  5. rational denominator

検索結果

bigdecimal/util (114169.0)

String、Integer、Float、Rational オブジェクトを BigDecimal オブジェクトに変換する機能を提供します。

String、Integer、Float、Rational オブジェクトを
BigDecimal オブジェクトに変換する機能を提供します。

* String#to_d
* Integer#to_d
* Float#to_d
* Rational#to_d


これらのメソッドを使うには 'bigdecimal/util' を require する必要があります。

なお、Ruby 2.6.0 以降では、'bigdecimal/util' を require すると、
'bigdecimal' 本体も require されます。