mirror of
https://github.com/BlueMap-Minecraft/BlueMapVue.git
synced 2025-01-21 05:31:21 +01:00
Explicitly parse value to string to make sure toFixed() is working
This commit is contained in:
parent
b6a6adcf5d
commit
0629739985
@ -24,7 +24,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
formattedValue() {
|
||||
return this.value.toFixed(countDecimals(this.step));
|
||||
return parseFloat(this.value).toFixed(countDecimals(this.step));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user