Skip to content

Commit

Permalink
fix: score rouding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pandatix committed Jan 31, 2024
1 parent 8791cb2 commit 9b73604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ const app = Vue.createApp({
if (value > 10) {
value = 10.0
}
return value.toFixed(1)
return Math.round(value*10)/10
},
qualScore() {
if (this.score == 0) {
Expand Down

0 comments on commit 9b73604

Please sign in to comment.