格式化
double value = new BigDecimal(Double.valueOf(dodo.getNetWorthGrowthRate())).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();
DecimalFormat format = new DecimalFormat("######0.00");
currency.setDailyGrowthRate(format.format(value));
格式化
double value = new BigDecimal(Double.valueOf(dodo.getNetWorthGrowthRate())).setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue();
DecimalFormat format = new DecimalFormat("######0.00");
currency.setDailyGrowthRate(format.format(value));