mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Distance 2 decimal places
Aligning to recent patch to increase decimal places when selecting an interval, this now sets the decimal places to 2 for distance when displaying the metric (e.g. summary, interval summary)
This commit is contained in:
@@ -125,7 +125,7 @@ class TotalDistance : public RideMetric {
|
||||
setType(RideMetric::Total);
|
||||
setMetricUnits(tr("km"));
|
||||
setImperialUnits(tr("miles"));
|
||||
setPrecision(1);
|
||||
setPrecision(2);
|
||||
setConversion(MILES_PER_KM);
|
||||
}
|
||||
void compute(const RideFile *ride, const Zones *, int,
|
||||
|
||||
Reference in New Issue
Block a user