A,B为String类型 ,A-B=C
BigDecimal A=(BigDecimal) map.get("A"); BigDecimal B=(BigDecimal) map.get("B"); Double C=A.subtract(B).doubleValue();