diff options
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 336774c1b..5cff8f7d4 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -734,10 +734,10 @@ QString QMLManager::getWeights(const QString& diveId) weight += d->weightsystem[i].weight.grams; if (informational_prefs.unit_system == IMPERIAL){ - weights = QString::number(grams_to_lbs(weight)) + " lbs"; + weights = QString::number(grams_to_lbs(weight), 'f', 1) + " lbs"; } else { - weights = QString::number(weight/1000) + " kg"; + weights = QString::number(weight/1000, 'f', 1) + " kg"; } } return weights; |