Hi,
As a result of the following operation, the result is printed 22 instead of 22.5. How can we change this?
set a 180set b 4set c 8set d [expr $a/$b];set e [expr $a/$c];
Hi , Hakan
This should be
set e [expr {double($a) / $c}]
Hi , Hakan
This should be
set e [expr {double($a) / $c}]