no need to round speed
Vladimir Bauer
8 years ago
| 222 | 222 |
return s.onComplete.wc.FormatMsg(s.onComplete.msg, widthAccumulator, widthDistributor)
|
| 223 | 223 |
}
|
| 224 | 224 |
var str string
|
| 225 | |
speed := round(s.mAverage.Value())
|
|
225 |
speed := s.mAverage.Value()
|
| 226 | 226 |
switch s.unit {
|
| 227 | 227 |
case unitKiB:
|
| 228 | 228 |
str = fmt.Sprintf(s.unitFormat, SpeedKiB(speed))
|