Can you use the native parseInt() function? or parseFloat()?
var num = parseInt("52");
console.log(num); // int 52


On Fri, Apr 24, 2009 at 9:06 AM, Ananth Raghuraman

> Need prototype function to convert object/string/number to number. Please
> help.
> >

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to