Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q131

Feedback on: irt.org FAQ Knowledge Base Q131

Sent by chuck on August 03, 2000 at 15:34:42: - feedback #1574

Worth:
Not worth reading

Technical:
Not technical enough

Comments:
This was an idiotic answer that did not answer the question.


Sent by Ray Pooley on August 12, 2000 at 09:51:32: - feedback #1619

Comments:
Use parseInt() or parseFloat() methods to assign the form text variables to numeric variables and perform your maths on the new variables. eg:

numvar = parseFloat(formelementvalue);
If formelementvalue contains '30.1' then numvar will be equal to 30.1 numeric.


Sent by Mr Person on November 18, 2000 at 02:02:33: - feedback #2022

Worth:
Very worth reading

Comments:
i've been searching for give or take 3 hours for how to convert a string to a number.

goddamn, what can i say?

thanks.


Sent by Dan MacDonald on January 30, 2001 at 16:14:54: - feedback #2302

Length:
Too short

Comments:
I think the problem is in concatenating strings.

Try parseInt() or parseFloat() method.


Sent by Beau on June 25, 2002 at 16:18:29: - feedback #3964

Technical:
Not technical enough

Comments:
I tried this script, and all the alert did was return the value of the last text box. It didn't add them up. Any help on this would be much appreciated!


©2018 Martin Webb