Java BigDecimal

  • + 1 comment
        s = Arrays.copyOf(s, n);
        Arrays.sort(s, (a, b) -> new BigDecimal(b).compareTo(new BigDecimal(a)));