Powersystem getRoundedString returns incorrect value
lorilith opened this issue ยท 0 comments
lorilith commented
powersystem does a straight division value = euValue / 1000; on line 95
which will cause the number to round up when over 5. This leads to 9.9k showing as 10.9k.
This can be fixed with Math.floor(euValue / 1000); instead