fengjin
2022-11-07 016205e0ecc644f850cdf442cf3cd0c53b7b976f
flower_city/src/main/java/com/dg/core/controller/HomeStatisticsController.java
@@ -250,8 +250,8 @@
                if(allNum>0 && score>0)
                {
                    java.text.DecimalFormat weekDf=new java.text.DecimalFormat("##.##");//传入格式模板
                    String workEfficiency=weekDf.format((float)(score/allNum));
                    java.text.DecimalFormat weekDf=new java.text.DecimalFormat("##.#");//传入格式模板
                    String workEfficiency=weekDf.format((float)score/(float)allNum);
                    bean.setNum(workEfficiency);
                }
            }