method

abs

Importance_1
abs() public

Returns the absolute value, as a BigDecimal.

BigDecimal('5').abs  #=> 0.5e1
BigDecimal('-3').abs #=> 0.3e1
Show source
Register or log in to add new notes.