Convert the text or alphanumeric string to Integer value


Javascript
var str = "055"
str = str.parseInt;
alert(str);    // this alerts the integer value 55

No comments:

Post a Comment