class BCDice::CommonCommand::AddDice::Node::DivideWithRoundingDown
除算(切り捨て)のノード
Constants
- ROUNDING_METHOD
端数処理方法を示す記号
Private Instance Methods
divide_and_round(dividend, divisor, _round_type)
click to toggle source
除算および端数処理を行う @param (see DivideWithGameSystemDefault#divide_and_round
) @return [Integer]
# File lib/bcdice/common_command/add_dice/node.rb, line 321 def divide_and_round(dividend, divisor, _round_type) dividend / divisor end