Use Convert utility m_timer.Interval = Convert.ToInt32(m_interval) * 1000;