public static BigDecimal max(BigDecimal self, BigDecimal that) { if (self.CompareTo(that) >= 0) return self; return that; }