Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Jun 18, 2024
1 parent e33decd commit 972f543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maplebot/level_exp.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func calculateExpBetweenLevel(start, end int64) MessageChain {
var s string
switch {
case exp < 1000:
s = fmt.Sprintf("%d", exp)
s = strconv.FormatInt(exp, 10)
case exp < 1000000:
s = fmt.Sprintf("%.2fK", float64(exp)/1000)
case exp < 1000000000:
Expand Down

0 comments on commit 972f543

Please sign in to comment.