diff --git a/progress/format.go b/progress/format.go index 441f0b8..45dd5d4 100644 --- a/progress/format.go +++ b/progress/format.go @@ -49,7 +49,7 @@ func FormatBPSValue(bps float64) string { } func FormatBPS(size int64, duration time.Duration) string { - return FormatBPSValue(float64(size) * duration.Seconds()) + return FormatBPSValue(float64(size) / duration.Seconds()) } func FormatDuration(d time.Duration) string {