Cell balancing calculation added. Fixed rounding of real numbers to the second decimal place
This commit is contained in:
8
qml/Utils/MathHelper.qml
Normal file
8
qml/Utils/MathHelper.qml
Normal file
@@ -0,0 +1,8 @@
|
||||
pragma Singleton
|
||||
import QtQuick 2.12
|
||||
|
||||
QtObject {
|
||||
function roundDouble(value) {
|
||||
return Math.round((value + Number.EPSILON) * 100) / 100
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user