るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric ceil
  4. numeric real
  5. numeric fdiv

検索結果

Integer#ceil(ndigits = 0) -> Integer | Float (54439.0)

self と等しいかより大きな整数のうち最小のものを返します。

...合、Float を返します。
小数点以下を、最大 n 桁にします。
負の整数を指定した場合、Integer を返します。
小数点位置から左に少なくとも n 個の 0 が並びます。

//emlist[][ruby]{
1.ceil # =...