We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 697df64 commit 9978d23Copy full SHA for 9978d23
1 file changed
common/format/fmt.go
@@ -46,6 +46,10 @@ func ToString(messages ...any) string {
46
output += strconv.FormatInt(int64(message), 10)
47
case int64:
48
output += strconv.FormatInt(message, 10)
49
+ case float32:
50
+ output += strconv.FormatFloat(float64(message), 'f', -1, 32)
51
+ case float64:
52
+ output += strconv.FormatFloat(message, 'f', -1, 64)
53
case uintptr:
54
output += strconv.FormatUint(uint64(message), 10)
55
case error:
0 commit comments