X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/57997664eaba82ad263c61b9cdbe7dd26ec8d08d..2d04eef425ab912c33c1b51a4f0018ae72809dae:/tests/support/util.tcl diff --git a/tests/support/util.tcl b/tests/support/util.tcl index a39a2134..675d57f7 100644 --- a/tests/support/util.tcl +++ b/tests/support/util.tcl @@ -294,3 +294,7 @@ proc csvdump r { proc csvstring s { return "\"$s\"" } + +proc roundFloat f { + format "%.10g" $f +}