るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

検索結果

Float#magnitude -> Float (96613.0)

自身の絶対値を返します。

自身の絶対値を返します。

//emlist[例][ruby]{
34.56.abs # => 34.56
-34.56.abs # => 34.56
//}

Float#abs -> Float (51313.0)

自身の絶対値を返します。

自身の絶対値を返します。

//emlist[例][ruby]{
34.56.abs # => 34.56
-34.56.abs # => 34.56
//}