Files
CuboBmsTool/qml/Utils/MathHelper.qml

9 lines
155 B
QML

pragma Singleton
import QtQuick 2.12
QtObject {
function roundDouble(value) {
return Math.round((value + Number.EPSILON) * 100) / 100
}
}