diff --git a/internal/rdb/structure/module2_struct.go b/internal/rdb/structure/module2_struct.go index c456074b..ab73fa62 100644 --- a/internal/rdb/structure/module2_struct.go +++ b/internal/rdb/structure/module2_struct.go @@ -50,7 +50,7 @@ func ReadModuleDouble(rd io.Reader) string { log.Panicf("Unknown module double encode type") } value := ReadDouble(rd) - return fmt.Sprintf("%f", value) + return fmt.Sprintf("%.15f", value) } func ReadModuleString(rd io.Reader) string {