double price= NumberUtils.toDouble(product.getPrice()); product.setPrice(new DecimalFormat("0.00").format(price));