Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library bigdecimal > class BigDecimal > abs

instance method BigDecimal#abs

abs

a の絶対値

c = a.abs