f2方法优化

master
xxssyyyyssxx 2021-12-27 11:14:31 +08:00
parent 4b6f8003fc
commit ec2d164445
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function f2(x) {
if (isNaN(f)) {
return 0;
}
return Math.round(x*100)/100;
return Math.round(f*100)/100;
}
/**