Silvia, Frank, users
why does tcl treat my parameters as integers when I use foreach? the result of the expression epsc0 returns zero instead of 0.00195
foreach {fc Es } {
31 31736 ....
set epsc0 [expr 2*$fc/$Ec]
how can I evaluate that rational while keeping using foreach?
thanks
m.
tcl foreach - integer?
Moderators: silvia, selimgunay, Moderators
-
- Posts: 29
- Joined: Fri May 13, 2005 5:36 am
tcl foreach - integer?
Marco Faggella
Ph.D. student
Univ. Chieti-Pescara, Italy
UC San Diego
Ph.D. student
Univ. Chieti-Pescara, Italy
UC San Diego
-
- Posts: 29
- Joined: Fri May 13, 2005 5:36 am