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