1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Fix float64 formatting.

This commit is contained in:
QLeelulu
2013-03-05 17:27:22 +08:00
committed by Vladimir Mihailenco
parent 2a4280a905
commit ef0cc25b9b
2 changed files with 7 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import (
)
func formatFloat(f float64) string {
return strconv.FormatFloat(f, 'f', -1, 32)
return strconv.FormatFloat(f, 'f', -1, 64)
}
//------------------------------------------------------------------------------