We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb9abec commit 4c8e17bCopy full SHA for 4c8e17b
adminforth/spa/src/afcl/ProgressBar.vue
@@ -42,7 +42,7 @@ const props = withDefaults(defineProps<Props>(), {
42
const percentage = computed((): number => {
43
const min = props.minValue
44
const max = props.maxValue
45
- return Math.round(((props.currentValue - min) / (max - min)) * 100)
+ return Math.floor(((props.currentValue - min) / (max - min)) * 1000) / 10
46
})
47
48
const progressText = computed((): string => {
0 commit comments