Skip to content

Commit

Permalink
Merge pull request #73 from moosetechnology/72-Some-metrics-output-fr…
Browse files Browse the repository at this point in the history
…action-and-not-float-number

#72 add Float return after averaging
  • Loading branch information
badetitou authored Sep 26, 2024
2 parents dbd1602 + 5c64954 commit 0c3ed68
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 0c3ed68

Please sign in to comment.