Skip to content

Commit

Permalink
Merge pull request #49 from pandatix/fix/rounding
Browse files Browse the repository at this point in the history
Fix score rouding issue (#48)
  • Loading branch information
skontar committed Feb 5, 2024
2 parents 8791cb2 + 9b73604 commit 266c4f6
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 266c4f6

Please sign in to comment.