self / other -> Float[permalink][rdoc][edit]-
算術演算子。商を計算します。
- [PARAM]
other: - 二項演算の右側の引数(対象)
# 商 p 1.3 / 2.4 # => 0.541666666666667 p 1.0 / 0 # => Infinity - [PARAM]
このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
self / other -> Float[permalink][rdoc][edit]算術演算子。商を計算します。
other:# 商
p 1.3 / 2.4 # => 0.541666666666667
p 1.0 / 0 # => Infinity