X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/cc7c4158bc9c584b91560e9bf3dff51a9316c9b3..467d703eadd1578f93544bb5a7b6e40685a3b8ac:/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 +}