Re: math problems

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28088
interpreted = N
texte = Glenn,What she is doing is using the [lineitems] context (which is a loop) to sum all the values.ie:for each lineitem multiply quantity and crv together, then add it to the next iteration of the loop. pretty cool actually.Sorry Kim, I don't see any reason you should be getting weird data. The loop looks ok to me.You could try a few things though that might help.Break this up a bit. Try setting CRVFigure to 0 before you get here. Then do the [math] then format it.Maybe WebCat is getting confused with all this at once. >on 02/25/00 11:57 AM, Kimberly D Ingram at Kim@cnetech.com wrote: > > > $[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]. > >Is this some weird and esoteric WC thing that isn't documented in the user >manual? If it is, I sure can't find it in the Context: Math section. > >Glenn > > >------------------------------------------------------------- >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 > ------------------------------------------------------------- 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)
Glenn,What she is doing is using the [lineitems] context (which is a loop) to sum all the values.ie:for each lineitem multiply quantity and crv together, then add it to the next iteration of the loop. pretty cool actually.Sorry Kim, I don't see any reason you should be getting weird data. The loop looks ok to me.You could try a few things though that might help.Break this up a bit. Try setting CRVFigure to 0 before you get here. Then do the [math] then format it.Maybe WebCat is getting confused with all this at once. >on 02/25/00 11:57 AM, Kimberly D Ingram at Kim@cnetech.com wrote: > > > $[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]. > >Is this some weird and esoteric WC thing that isn't documented in the user >manual? If it is, I sure can't find it in the Context: Math section. > >Glenn > > >------------------------------------------------------------- >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 > ------------------------------------------------------------- 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 Charles Kline

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:

WebDNA Module with Apache 2.2 (2006) Cart doesn't interpret tag! (1997) UPS (2003) sorting on date in search (2000) ThisURL and getting domain/server address (2005) Text data with spaces in them... (1997) New Guestbook Source (1997) Dang... Sorry, WebDNA server not running (again)? (2003) Nested [xxx] contexts & Bad Suffix (1998) Snake Bites (1997) Catalog page question (1999) Search (1997) shipCost (1998) Emailer (1997) Problems passing [SKU] with $Replace in 2.0 (1997) notification solutions (1997) [WebDNA] WSC Investors Repository (2008) formatting a number (1999) Listfiles not listing mounted volume (2002) WebCat2 - [SendNews] (1997)