WT 1.1.24+7 translations, calculation fixes

This commit is contained in:
bossanyit
2021-11-10 08:30:42 +01:00
parent 0496f96da6
commit a57d79fbc4
7 changed files with 25 additions and 15 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ mixin Common {
} else if (remainder > 2.5 && remainder < 3.25) {
rounded = (weight / 5).floor() * 5 + 2.5;
} else {
rounded = (((weight / 5).ceil() * 5) + 5).toDouble();
rounded = (((weight / 5).ceil() * 5)).toDouble();
}
}