Codebase list golang-github-vbauerster-mpb / 37c0d3b
no need to round speed Vladimir Bauer 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
222222 return s.onComplete.wc.FormatMsg(s.onComplete.msg, widthAccumulator, widthDistributor)
223223 }
224224 var str string
225 speed := round(s.mAverage.Value())
225 speed := s.mAverage.Value()
226226 switch s.unit {
227227 case unitKiB:
228228 str = fmt.Sprintf(s.unitFormat, SpeedKiB(speed))