Standard.BaseDataDecimalmaxOn this pageDecimal.max maxthat Group: Math Documentation Returns the larger value of self and that. Arguments that: The number to compare self against. Examples Find the maximum of 12 and 13. Decimal.new "12" . max (Decimal.new "13") # => Decimal.new "13"