abs

abs(): Decimal;

The abs method of the Decimal primitive type returns a decimal containing the absolute value of the receiver.