From ec2d1644457c0bd498bedda4877dd8edaf34b235 Mon Sep 17 00:00:00 2001 From: xxssyyyyssxx Date: Mon, 27 Dec 2021 11:14:31 +0800 Subject: [PATCH] =?UTF-8?q?f2=E6=96=B9=E6=B3=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/assets/js/project_common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/assets/js/project_common.js b/src/main/resources/static/assets/js/project_common.js index 7722bb1..a848702 100644 --- a/src/main/resources/static/assets/js/project_common.js +++ b/src/main/resources/static/assets/js/project_common.js @@ -24,7 +24,7 @@ function f2(x) { if (isNaN(f)) { return 0; } - return Math.round(x*100)/100; + return Math.round(f*100)/100; } /**