From 97fa104e0da116479f6ee513bc20fb48bde61919 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Sun, 31 Mar 2024 00:56:10 +0300 Subject: [PATCH] fix: reduce number of decimal places in expressions --- src/tcl/init.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcl/init.tcl b/src/tcl/init.tcl index ba5b834..3d2c3ef 100644 --- a/src/tcl/init.tcl +++ b/src/tcl/init.tcl @@ -3,5 +3,5 @@ # Author: Uri Shaked proc ev {args} { - return [expr [join $args]] + return [format %.4g [expr [join $args]]] }