remove extra f in pretty print
This commit is contained in:
parent
06602cd291
commit
88d37f174e
|
@ -18,7 +18,7 @@ func PrettyPrintInt(n int) {
|
||||||
case math.Abs(float64(n)) >= 1_000:
|
case math.Abs(float64(n)) >= 1_000:
|
||||||
fmt.Printf("%.2fK", float64(n)/1_000.0)
|
fmt.Printf("%.2fK", float64(n)/1_000.0)
|
||||||
default:
|
default:
|
||||||
fmt.Printf("%df", n)
|
fmt.Printf("%d", n)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user