Commit e350e20b authored by lilongyang's avatar lilongyang

Merge branch 'developer' of http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz into developer

parents a0772f2b 67f48572
...@@ -317,7 +317,7 @@ public class IdxBizFanWeightController extends BaseController { ...@@ -317,7 +317,7 @@ public class IdxBizFanWeightController extends BaseController {
} }
//剩余权重值 //剩余权重值
float formattedNum = num != 0 ? Float.parseFloat(new DecimalFormat("0.0000000000").format((1 - valued) / num)) : 0; float formattedNum = num != 0 ? Float.parseFloat(new DecimalFormat("0.000").format((1 - valued) / num)) : 0;
for (IdxBizFanWeight listdatum : listdata) { for (IdxBizFanWeight listdatum : listdata) {
for (IdxBizFanWeight idxBizPvWeight : list) { for (IdxBizFanWeight idxBizPvWeight : list) {
......
...@@ -326,7 +326,7 @@ public class IdxBizPvWeightController extends BaseController { ...@@ -326,7 +326,7 @@ public class IdxBizPvWeightController extends BaseController {
} }
//剩余权重值 //剩余权重值
float formattedNum = num != 0 ? Float.parseFloat(new DecimalFormat("0.0000000000").format((1 - valued) / num)) : 0; float formattedNum = num != 0 ? Float.parseFloat(new DecimalFormat("0.000").format((1 - valued) / num)) : 0;
for (IdxBizPvWeight listdatum : listdata) { for (IdxBizPvWeight listdatum : listdata) {
for (IdxBizPvWeight idxBizPvWeight : list) { for (IdxBizPvWeight idxBizPvWeight : list) {
......
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