forked from upstream-mirrors/OpenTracks
@@ -284,7 +284,7 @@ public class StringUtils {
|
|||||||
|
|
||||||
if (altitude_m != null) {
|
if (altitude_m != null) {
|
||||||
double value = Distance.of(altitude_m).toM_FT(metricUnits);
|
double value = Distance.of(altitude_m).toM_FT(metricUnits);
|
||||||
formattedValue = StringUtils.formatDecimal(value, 0);
|
formattedValue = StringUtils.formatDecimal(value, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Pair<>(formattedValue, unit);
|
return new Pair<>(formattedValue, unit);
|
||||||
|
|||||||
Reference in New Issue
Block a user