Standard.BaseDataDecimalnegateOn this pageDecimal.negate negate Group: Operators Documentation Compute the negation of this. Examples Negate 5.1 to get -5.1. 5.1.negate # => Decimal.new -5.1