"Ton den Hartog" <to**@xs4all.nl> writes:
How can I convert a string object with a vallid number in it to an integer
value ?
There are many ways:
The shortest, prefix plus: +string
Convert to Number explicitly: Number(string)
Parse as integer or float: parseInt(string,10) or parseFloat(string)
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'