abs method

Decimal128 abs()

Returns the absolute value of this.

Implementation

Decimal128 abs() => this < zero ? -this : this;