From 6c23edf064065920ed63aa99d37d3afe95d1b50e Mon Sep 17 00:00:00 2001 From: leozide Date: Mon, 24 Jul 2017 16:53:56 -0700 Subject: [PATCH] Only save 4 decimal digits. --- qt/lc_qutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/lc_qutils.cpp b/qt/lc_qutils.cpp index 43343258..82b8c97e 100644 --- a/qt/lc_qutils.cpp +++ b/qt/lc_qutils.cpp @@ -6,7 +6,7 @@ QString lcFormatValue(float Value) { - QString String = QString::number(Value, 'f', 6); + QString String = QString::number(Value, 'f', 4); int Dot = String.indexOf('.'); if (Dot != -1)