convert request's value parameter into int type