VBForums
>
Other Languages
>
XML, HTML, Javascript, Web and CSS
> JavaScript toFloat
PDA
Click to See Complete Forum and Search -->
:
JavaScript toFloat
TheGoldenShogun
Mar 28th, 2002, 07:06 AM
Is there a JavaScript function that converts a String to a float or int?
punkpie_uk
Mar 28th, 2002, 08:09 AM
num = parseInt('12')
num = parseFloat('12.12')
...should do the trick :)
TheGoldenShogun
Mar 28th, 2002, 08:26 AM
thanks, exactly what I needed!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.