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