strange math

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56968
interpreted = N
texte = Hi again, See if you can figure this one out? It beats the heck outta me. _______________________________________________________ in file1.tpl, a form contains number of variables, var1, var2, var3, etc. I use redirect to file2, as such [redirect file2.tpl?var1=[url][var1][/url]& var2=[url][var2][/url]&(etc....)] in file2.tpl I display the variables, and attempt to add them. var1= [var1] var2= [var2] total= [math][var1]+[var2][/math] if only var1 = 1, I get: var1= 1 var2= total= 1 if both var1 = 1 & var2=1, I get: var1= 1 var2= 1 total= 2 but if only var2 = 1, I get: var1= var2= 1 total= _______________________________________________________ no total! I have no idea why it works one way but not another. Thanks for any insight in advance. Steve Braun sbraun1@twcny.rr.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Strange MATH result (Stuart Tremain 2010)
  2. Re: [WebDNA] Strange MATH result (JJ WebDNA 2010)
  3. Re: [WebDNA] Strange MATH result - BUG (Govinda 2010)
  4. Re: [WebDNA] Strange MATH result (christophe.billiottet@webdna.us 2010)
  5. Re: [WebDNA] Strange MATH result (christophe.billiottet@webdna.us 2010)
  6. Re: [WebDNA] Strange MATH result - BUG (Stuart Tremain 2010)
  7. Re: [WebDNA] Strange MATH result - BUG (Govinda 2010)
  8. Re: [WebDNA] Strange MATH result (Stuart Tremain 2010)
  9. Re: [WebDNA] Strange MATH result (Govinda 2010)
  10. Re: [WebDNA] Strange MATH result - BUG (Stuart Tremain 2010)
  11. [WebDNA] Strange MATH result (Stuart Tremain 2010)
  12. Re: strange math ( Brian Fries 2004)
  13. Re: strange math ( devaulw@onebox.com 2004)
  14. Re: strange math ( "BRAUN, STEPHEN" 2004)
  15. Re: strange math ( devaulw@onebox.com 2004)
  16. Re: strange math ( Kenneth Grome 2004)
  17. Re: strange math ( William DeVaul 2004)
  18. Re: strange math ( sbraun 2004)
  19. Re: strange math ( Kenneth Grome 2004)
  20. Re: strange math ( sbraun 2004)
  21. Re: strange math ( Kenneth Grome 2004)
  22. strange math ( sbraun 2004)
Hi again, See if you can figure this one out? It beats the heck outta me. _______________________________________________________ in file1.tpl, a form contains number of variables, var1, var2, var3, etc. I use redirect to file2, as such [redirect file2.tpl?var1=[url][var1][/url]& var2=[url][var2][/url]&(etc....)] in file2.tpl I display the variables, and attempt to add them. var1= [var1] var2= [var2] total= [math][var1]+[var2][/math] if only var1 = 1, I get: var1= 1 var2= total= 1 if both var1 = 1 & var2=1, I get: var1= 1 var2= 1 total= 2 but if only var2 = 1, I get: var1= var2= 1 total= _______________________________________________________ no total! I have no idea why it works one way but not another. Thanks for any insight in advance. Steve Braun sbraun1@twcny.rr.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ sbraun

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Protect and Serve (1999) Sorting problem (1997) [WebDNA] [replace] bug in v7.0? (2010) mac os HOG? (2001) End of line control characters (2000) ShowIf helper? (1998) Locking up with WebCatalog... (1997) Navigator 4.0 & tables (1997) emailer (1997) Database causes out of memory error (2000) [movefile] create stationery files (1998) hmmm (2006) WebMerchant Error (1998) WebCatalog 402rc2 is now available (2001) Exclude by date - multiple (1997) PSC recommends what date format yr 2000??? (1997) Nested tags count question (1997) Duplicate Carts (2000) wrong input values? (1997) Counting LineItems (2000)