Update avg.tcl

ensure float