Index: sources/gui/qml/globals/Variables.qml =================================================================== diff -u -re595a959b32e1bd1532b942481230a09496d6f08 -r6e53f2dbbf1a96fdffc0d5baee095dc1a4deaaf5 --- sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision e595a959b32e1bd1532b942481230a09496d6f08) +++ sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision 6e53f2dbbf1a96fdffc0d5baee095dc1a4deaaf5) @@ -273,6 +273,9 @@ // water sample readonly property int waterSamplePrecision : 1 + readonly property int pressuresPrecision : 0 + + function sizeConverted(vSize, vSizePowers, vRound = 2) { return ( vSize / vSizePowers // convert from byte to Giga byte