金额保留两位小数(四舍五入) //订单金额(保留2位小数)NumberFormat formatter=new DecimalFormat("#0.00"); String Amount = formatter.format(45.129851);