scripts/base_score.rb
# To make sure we don't have an overflow
To make sure we don't have an overflow
To make sure we don ' t have an overflow
def scale(_score)
    if _score > INT16_MAX
      return INT16_MAX
    elsif _score < INT16_MIN
      return INT16_MIN
    end
    _score.to_i
  end
def scale ( _score ) if _score > INT16_MAX return INT16_MAX elsif _score < INT16_MIN return INT16_MIN end _score . to_i end
To make sure we don't have an overflow
To make sure we don ' t have an overflow
_score
<not_specific>