abs package:dimensional

Takes the absolute value of a Quantity.
Takes the absolute value of a possibly scaled SQuantity, preserving any scale factor.