> intLastAgent = 1 * intLastAgent I've found that "casting" helps. intLastAgent = 1 * parseInt(intLastAgent) or intLastAgent = 1 * cInt(intLastAgent)