Commit 04ee0430 authored by 竹天卫's avatar 竹天卫

校核计算优化

parent 744be23d
...@@ -442,7 +442,7 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl ...@@ -442,7 +442,7 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl
System.out.println(b);*/ System.out.println(b);*/
String aa = "Mad=1.87 \n" + /*String aa = "Mad=1.87 \n" +
" Aad=21.04 \n" + " Aad=21.04 \n" +
" Vad=24.24 \n" + " Vad=24.24 \n" +
" Qnet,ad MJ/kg=23.14 \n" + " Qnet,ad MJ/kg=23.14 \n" +
...@@ -453,7 +453,11 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl ...@@ -453,7 +453,11 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl
String[] ele = str2.trim().split("="); String[] ele = str2.trim().split("=");
map.put(ele[0], ele[1]); map.put(ele[0], ele[1]);
} }
System.out.println(map); System.out.println(map);*/
BigDecimal endResult = new BigDecimal("2").divide(new BigDecimal("1"),10,BigDecimal.ROUND_HALF_UP);
System.out.println(endResult);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment