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:

WebCat2 several catalogs? (1997) Multi or auto submit (1999) credit card authorization question (1997) I'm having trouble using [url][interpret][math] together inlookup (1997) date pref (1999) Problems mit mysql (2004) RE: setting cookies then redirecting? (1998) Calculating Shipping charges for multiple items and qtys > 1 (1997) Authorize.Net and AIM (2004) Testing (2003) Grant, please help me ... (1997) summ=T (2003) WebCat2: multiple currency support (1997) Last Minute addition to WildWebCAT98... (1999) [shownext max=?] armed (1997) Problems with [Search] param - Mac Plugin b15 (1997) Emailer errors (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Grouping fields problem (1998) Another issue with [Date format] (1998)