1083件ヒット
[201-300件を表示]
(0.046秒)
種類
- インスタンスメソッド (729)
- 定数 (271)
- 特異メソッド (83)
ライブラリ
- bigdecimal (1039)
-
bigdecimal
/ util (22) -
json
/ add / bigdecimal (22)
キーワード
- % (11)
- * (11)
- ** (11)
- + (11)
- +@ (11)
- -@ (11)
-
/ (11) - < (11)
- <= (11)
- <=> (11)
- == (11)
- === (11)
- > (11)
- >= (11)
- BASE (11)
-
EXCEPTION
_ ALL (11) -
EXCEPTION
_ INFINITY (11) -
EXCEPTION
_ NaN (11) -
EXCEPTION
_ OVERFLOW (11) -
EXCEPTION
_ UNDERFLOW (11) -
EXCEPTION
_ ZERODIVIDE (11) - INFINITY (11)
- NAN (11)
-
ROUND
_ CEILING (11) -
ROUND
_ DOWN (11) -
ROUND
_ FLOOR (11) -
ROUND
_ HALF _ DOWN (11) -
ROUND
_ HALF _ EVEN (11) -
ROUND
_ HALF _ UP (11) -
ROUND
_ MODE (11) -
ROUND
_ UP (11) -
SIGN
_ NEGATIVE _ FINITE (11) -
SIGN
_ NEGATIVE _ INFINITE (11) -
SIGN
_ NEGATIVE _ ZERO (11) -
SIGN
_ NaN (11) -
SIGN
_ POSITIVE _ FINITE (11) -
SIGN
_ POSITIVE _ INFINITE (11) -
SIGN
_ POSITIVE _ ZERO (11) - VERSION (7)
-
_ dump (11) -
_ load (11) - abs (11)
- add (11)
- ceil (22)
- clone (7)
- coerce (11)
- div (22)
- divmod (11)
-
double
_ fig (11) - dup (7)
- eql? (11)
- exponent (11)
- finite? (11)
- fix (11)
- floor (22)
- frac (11)
- hash (11)
- infinite? (11)
- inspect (11)
-
json
_ create (11) - limit (11)
- mode (22)
- modulo (11)
- mult (11)
- nan? (11)
- new (12)
- nonzero? (11)
- power (22)
- precs (11)
- quo (11)
- remainder (11)
- round (33)
-
save
_ exception _ mode (11) -
save
_ limit (11) -
save
_ rounding _ mode (11) - sign (11)
- split (11)
- sqrt (11)
- sub (11)
-
to
_ d (11) -
to
_ digits (11) -
to
_ f (11) -
to
_ i (11) -
to
_ int (11) -
to
_ json (11) -
to
_ r (11) -
to
_ s (22) - truncate (22)
- ver (5)
- zero? (11)
検索結果
先頭5件
-
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#-... -
BigDecimal
# *(other) -> BigDecimal (101.0) -
積を計算します。
...積を計算します。
@param other self に掛ける数を指定します。
計算結果の精度についてはlib:bigdecimal#precisionを参照してください。... -
BigDecimal
# **(n) -> BigDecimal (101.0) -
self の n 乗を計算します。
self の n 乗を計算します。
戻り値の有効桁数は self の有効桁数の n 倍以上になります。
@param n selfを other 乗する数を指定します。
@param prec 有効桁数を整数で指定します。self の n 乗を計算します。
戻り値の有効桁数は self の有効桁数の n 倍以上になります。
@param n selfを other 乗する数を指定します。
@param prec 有効桁数を整数で指定します。
@see Integer#pow -
BigDecimal
# +(other) -> BigDecimal (101.0) -
和を計算します。
...和を計算します。
@param other self に足す数を指定します。
計算結果の精度についてはlib:bigdecimal#precisionを参照してください。... -
BigDecimal
# +@ -> self (101.0) -
self を返します。
self を返します。 -
BigDecimal
# / (other) -> BigDecimal (101.0) -
商を計算します。
...商を計算します。
@param other self を割る数を指定します。
詳細は Numeric#quo を参照して下さい。
計算結果の精度についてはlib:bigdecimal#precisionを参照してください。... -
BigDecimal
# <(other) -> bool (101.0) -
self が other より小さい場合に true を、そうでない場合に false を返しま す。
self が other より小さい場合に true を、そうでない場合に false を返しま
す。 -
BigDecimal
# <=(other) -> bool (101.0) -
self が other より小さいか等しい場合に true を、そうでない場合に false を返します。
self が other より小さいか等しい場合に true を、そうでない場合に false
を返します。 -
BigDecimal
# ==(other) -> bool (101.0) -
self が other と等しい場合に true を、そうでない場合に false を返します。
...self が other と等しい場合に true を、そうでない場合に false を返します。
それぞれの値は BigDecimal#coerce で変換して比較される場合があります。
//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('1.0') == 1.0 # => true
//}... -
BigDecimal
# ===(other) -> bool (101.0) -
self が other と等しい場合に true を、そうでない場合に false を返します。
...self が other と等しい場合に true を、そうでない場合に false を返します。
それぞれの値は BigDecimal#coerce で変換して比較される場合があります。
//emlist[][ruby]{
require 'bigdecimal'
BigDecimal('1.0') == 1.0 # => true
//}...