るりまサーチ

最速Rubyリファレンスマニュアル検索!
2346件ヒット [2301-2346件を表示] (0.103秒)

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. bigdecimal to_r
  5. fileutils rm_r

ライブラリ

キーワード

検索結果

<< < ... 22 23 24 >>

BigDecimal#div(other, n) -> BigDecimal (107.0)

商を計算します。

...商を計算します。

self / other を最大で n 桁まで計算します。計算結果の精度が n より大きい
ときは BigDecimal.mode で指定された方法で丸められます。

@param other self を割る数を指定します。

@param n 有効桁数を整数で指定しま...
...す。省略するか 0 を指定した場合は
BigDecimal#/ と同じ値を返します。

@raise ArgumentError n に負の数を指定した場合に発生します。

@see BigDecimal#/...

BigDecimal#mult(other, n) -> BigDecimal (107.0)

積を計算します。

...積を計算します。

self * other を最大で n 桁まで計算します。計算結果の精度が n より大きい
ときは BigDecimal.mode で指定された方法で丸められます。

@param other self に掛ける数を指定します。

@param n 有効桁数を整数で指定し...
...ます。0 を指定した場合は
BigDecimal#* と同じ値を返します。

@raise ArgumentError n に負の数を指定した場合に発生します。

@see BigDecimal#*...

BigDecimal#sub(other, n) -> BigDecimal (107.0)

差を計算します。

...差を計算します。

self - other を最大で n 桁まで計算します。計算結果の精度が n より大きい
ときは BigDecimal.mode で指定された方法で丸められます。

@param other self から引く数を指定します。

@param n 有効桁数を整数で指定し...
...ます。0 を指定した場合は
BigDecimal#- と同じ値を返します。

@raise ArgumentError n に負の数を指定した場合に発生します。

@see BigDecimal#-...

CSV::Table#inspect -> String (107.0)

モードとサイズを US-ASCII な文字列で返します。

...モードとサイズを US-ASCII な文字列で返します。

//emlist[][ruby]{
r
equire 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
p table.inspect # => "#<CSV::Table mode:col_or_row row_count:2>"
//}...
<< < ... 22 23 24 >>