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:

Multi Actions (1999) Nested tags count question (1997) Performance Tuning (2006) Can't load tmpl files (1997) WebCat2 several catalogs? (1997) Almost a there but..bye bye NetCloak (1997) BannerAds demo (1998) [WebDNA] Clarifying talklist emails (2020) WebCat2 - [format thousands] (1997) Looking for a Manual (1997) RE: PIXO support (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) [date] for today's date, while inside old order file (1998) problems with WebCat-Plugin () BUG REPORT -- FINAL (1999) Configuring E-mail (1997) Generating unique SKU from [cart] (1997) Re:Signal Raised (1997) Physical Security for WebCatalog Directories (1997) [WebDNA] DB help (2011)