Re: math problems

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28093
interpreted = N
texte = >> $[format >> >>..2f][math]CRVFigure=[lineitems][Quantity]*[CRV]+[/lineitems]0[/math][ >>/format >> ] CRV > >I'm a long way from being a WebDNA wizard, but the + operator looks odd to >me. There's nothing following it that can be added to [Quantity]*[CRV].If you visualize what the [lineitems] loop is doing here, you'll see that it causes a valid math equation to be formed:CRVFigure=1*.15+3*.10+2*.15+0That trailing 0 makes sure that the last + is followed by a number, so it doesn't break the equation.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: math problems (Glenn Busbin 2000)
  2. Re: math problems (Glenn Busbin 2000)
  3. Re: math problems (Rob Marquardt 2000)
  4. Re: math problems (Rob Marquardt 2000)
  5. Re: math problems (WebDNA Support 2000)
  6. Re: math problems (WebDNA Support 2000)
  7. Re: math problems (Charles Kline 2000)
  8. Re: math problems (Charles Kline 2000)
  9. Re: math problems (Glenn Busbin 2000)
  10. Re: math problems (Glenn Busbin 2000)
  11. Re: math problems (WebDNA Support 2000)
  12. Re: math problems (WebDNA Support 2000)
  13. Re: math problems (Kimberly D Ingram 2000)
  14. Re: math problems (Kimberly D Ingram 2000)
  15. Re: math problems (WebDNA Support 2000)
  16. Re: math problems (Kimberly D Ingram 2000)
  17. Re: math problems (WebDNA Support 2000)
  18. math problems (Kimberly D Ingram 2000)
  19. Re: Math problems (Brian B. Burton 1998)
  20. Re: Math problems (Rob Marquardt 1998)
  21. Math problems (Brian B. Burton 1998)
  22. Still having math problems (Raymond Hatch 1997)
  23. Re: More DateMath problems (Michael Winston 1997)
  24. Re: More DateMath problems (John Hill 1997)
  25. More DateMath problems (Michael Winston 1997)
  26. More DateMath problems (Michael Winston 1997)
  27. Re: More DateMath problems (grichter@panavise.com (Gary Richter) 1997)
>> $[format >> >>..2f][math]CRVFigure=[lineitems][Quantity]*[CRV]+[/lineitems]0[/math][ >>/format >> ] CRV > >I'm a long way from being a WebDNA wizard, but the + operator looks odd to >me. There's nothing following it that can be added to [Quantity]*[CRV].If you visualize what the [lineitems] loop is doing here, you'll see that it causes a valid math equation to be formed:CRVFigure=1*.15+3*.10+2*.15+0That trailing 0 makes sure that the last + is followed by a number, so it doesn't break the equation.Technical Support ********************************** Smith Micro, Internet Solutions Div | eCommerce (WebCatalog) 16855 West Bernardo Drive, #380 | ------------------------- San Diego, CA 92127 | Software & Site Development WebCatalog Support: (858) 675-0632 | http://www.smithmicro.com Fax: (858) 675-0372 **********************************------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 WebDNA Support

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:

Getting URL's entered manually (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) Navigator 4.0 & tables (1997) selectively replacing records within a [founditems] (2000) [WebDNA] Calendar Edit (2010) Checking for @ sign (2006) WC 2.0 frames feature (1997) Emailer.Out (1998) Search Form (2000) Shownext never shows next...still (1997) Re[2]: Problem with new formvariables (2000) Template Security error (1997) [showif [numfound]=0]? (2000) Webcatalog server support (1997) Updating Prices in Online Database (1999) WCf2 and nested tags (1997) ReturnRaw and redirect (1997) Purchased cart being overwritten (1997) Need relative path explanation (1997) (2000)