浏览代码

Change stuff and realtime JS made

Guichuan Yu 6 年之前
父节点
当前提交
4caabcd14e
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      js/basic.js

+ 2 - 0
js/basic.js

@@ -88,6 +88,7 @@ function first_success(obj, sta) {
         }
         else {
             failrate[i] = failNumber[i] / (failNumber[i] + passNumber[i]) * 100;
+
         }
 
     }
@@ -128,6 +129,7 @@ function second_success(obj, sta) {
             else {
                 hisrate[t] = hisfail[i] / (hispass[i] + hisfail[i]) * 100;
             }
+            hisrate[t]=Math.floor(hisrate[t]);
 
 
             t++;