Multiply, divide, remainder. None of these operands may be applied to string operands, and remainder may be applied only to integers. The remainder will always have the same sign as the divisor and an absolute value smaller than the divisor.
set deltat [expr $time2 / $time1]
set msglength [expr $msglength*2]