mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
WPK metrics need 2 decimals not 1
This commit is contained in:
@@ -39,7 +39,7 @@ class AverageWPK : public RideMetric {
|
||||
setType(RideMetric::Average);
|
||||
setMetricUnits(tr("wpk"));
|
||||
setImperialUnits(tr("wpk"));
|
||||
setPrecision(1);
|
||||
setPrecision(2);
|
||||
}
|
||||
|
||||
void compute(const RideFile *ride, const Zones *, int,
|
||||
@@ -75,7 +75,7 @@ class PeakWPK : public RideMetric {
|
||||
setType(RideMetric::Peak);
|
||||
setMetricUnits(tr("wpk"));
|
||||
setImperialUnits(tr("wpk"));
|
||||
setPrecision(1);
|
||||
setPrecision(2);
|
||||
}
|
||||
void setSecs(double secs) { this->secs=secs; }
|
||||
void compute(const RideFile *ride, const Zones *, int,
|
||||
|
||||
Reference in New Issue
Block a user