Skip to content

Commit

Permalink
add Float return after averaging
Browse files Browse the repository at this point in the history
  • Loading branch information
HLAD Nicolas committed Sep 26, 2024
1 parent dbd1602 commit 5c64954
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CommitsNumberByJiraTicketsMetric >> calculate [
| average |
average := (group collect: [ :mergeRequest |
mergeRequest commits size ]) average ].
^ groupedByDate average
^ groupedByDate average asFloat
]

{ #category : #accessing }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ JiraTimeMRTimeDifferenceMetric >> calculate [
].


^ groupedByDate average
^ groupedByDate average asFloat
]

{ #category : #accessing }
Expand Down

0 comments on commit 5c64954

Please sign in to comment.