Skip to content

Commit

Permalink
Formatted the time to use fixed length decimal numbers (10 numbers).
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Hamels committed May 26, 2022
1 parent 84ec276 commit ce66dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PalCSVKnitter/PalCSVFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public int CompareTo(PalCSVFile? other)
{
dataCountMax = line.DataCount + startDataCount;
stepCountMax = line.CumulativeStepCount + startStepCount;
list.Add($"{line.Time.ToString(nfiDecimalDot)},{line.DataCount + startDataCount}," + // Decimal seperator = .
list.Add($"{line.Time.ToString("F10", nfiDecimalDot)},{line.DataCount + startDataCount}," + // Decimal seperator = .
$"{line.Interval.ToString(nfiDecimalDot)},{line.ActivityCode}," + // Decimal seperator = .
$"{line.CumulativeStepCount + startStepCount},{line.ActivityScore.ToString(nfiDecimalDot)}," +
$"{line.SumAbsDiffX},{line.SumAbsDiffY},{line.SumAbsDiffZ}");
Expand Down

0 comments on commit ce66dfd

Please sign in to comment.