X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/57997664eaba82ad263c61b9cdbe7dd26ec8d08d..72f30bcd309b4a182b51106aa874aa83734f0558:/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 +}