diff --git a/decor/speed.go b/decor/speed.go index 5c31e13..8919cc2 100644 --- a/decor/speed.go +++ b/decor/speed.go @@ -170,7 +170,7 @@ } default: return func(speed float64) string { - return fmt.Sprintf(format, int64(math.Round(speed))) + return fmt.Sprintf(format, speed) } } }