Convert the text or alphanumeric string to Integer value By Administrator on 9:32 PM in javascript, ruby Javascript var str = "055" str = str.parseInt; alert(str); // this alerts the integer value 55 Tweet