public int setIntPoint(double contribution, BigDecimal rate) { return BigDecimal.valueOf(contribution).multiply(rate).setScale(0, BigDecimal.ROUND_HALF_UP).intValue();}