Cell balancing calculation added. Fixed rounding of real numbers to the second decimal place

This commit is contained in:
Yury Shuvakin
2022-08-26 09:30:07 +03:00
parent 6ae4386b37
commit 046d1f55ce
7 changed files with 34 additions and 14 deletions

8
qml/Utils/MathHelper.qml Normal file
View File

@@ -0,0 +1,8 @@
pragma Singleton
import QtQuick 2.12
QtObject {
function roundDouble(value) {
return Math.round((value + Number.EPSILON) * 100) / 100
}
}