double payPercent=123.123456785;
BigDecimal bg = new BigDecimal(String.valueOf(payPercent)).setScale(8, RoundingMode.HALF_UP);
System.out.println(bg.doubleValue()); // 123.12345679;
05-29
332

06-29
474
