Fix string display

This commit is contained in:
Christoph Hagen 2024-01-21 14:36:36 +01:00
parent 0088e5df2e
commit b89eb0103d

View File

@ -57,7 +57,7 @@ extension MetadataValue: CustomStringConvertible {
case .date(let value):
return value.timeAndDateText
case .numerical(let value, let unit):
return String(format: "%.3f %s", value, unit)
return String(format: "%.3f ", value) + unit
case .data(let value):
return value.description
}