**
**
Map<String,Object> val = new HashMap<>();
val .put(“a”,1.22222);
取值
Object bb = val.get(“a”).toString;
或者
String bb =(String) val.get(“a”);
DecimalFormat df = new DecimalFormat(“0.00%”);
String r = df.format(bb );
System.out.println®;
粘贴即用