absoluteValue

Returns a BigDecimal whose value is the absolute value of this BigDecimal, with rounding according to the context settings.

Return

absoluteValue(this), rounded as necessary.

Since

1.5

Parameters

mc

the context to use.

Throws

if the result is inexact but the rounding mode is UNNECESSARY.


Returns a BigDecimal whose value is the absolute value of this BigDecimal, and whose _scale is this._scale().

Return

absoluteValue(this)