Re: [math] error

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26158
interpreted = N
texte = Nevermind. It is all working fine. It was in error due to my clicking Refresh to test. I suppose this works ok for somethings and not ok for others. Thanks.At 11:51 PM 1/13/00 -0800, you wrote: >I am using the following two equations throughout a Grocer's site. Both >equations are being generated from the OrderFile...obviously. The first >one works, the second one doesn't. > >$[format 100.2f][math]SubTotalFigure=[lineitems][Quantity]*[showif >[Location]=Fresno][FresnoPrice][/showif][showif >[Location]=Hanford][HanfordPrice][/showif]+[/lineitems]0[/math][/format] > >$[format >100.2f][math]CRVFigure=[lineitems][Quantity]*[CRV]+[/lineitems]0[/math][/for >mat] > >With 5 sodas at .05 each and 1 soda at .05 (CRV) each, the above equation >gives me a total of 0.95, but it should be 0.30 > >I am also writing all of the purchased items to a database in order to >generate reports after the fact. From the database, the following equation >(same basic concept) also gives me an error...but a different one. > >$[format 100.2f][math]CRVFigure=[search >db=/blah/blah/blah/s4fpurchased.txt&eqCartdatarq=[Cart]&neDelivereddatarq=ND >][founditems][Quantity]*[CRV]+[/founditems][/search]0[/math][/format] > >All of the equations appear to have the same basic format, at least to me >anyway...any ideas?? I have also tried the following without success... > >[math][lineitems]([Quantity]*[CRV])+[/lineitems]0[/math] > >*************************************************************************** >What you are speaks so loud that I cannot hear what you say. >- Ralph Waldo Emerson (1803-1882) - Philosopher and Writer - > > >------------------------------------------------------------- >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 > *************************************************************************** What you are speaks so loud that I cannot hear what you say. - Ralph Waldo Emerson (1803-1882) - Philosopher and Writer - ------------------------------------------------------------- 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] error (Kim Ingram 2000)
  2. [math] error (Kim Ingram 2000)
Nevermind. It is all working fine. It was in error due to my clicking Refresh to test. I suppose this works ok for somethings and not ok for others. Thanks.At 11:51 PM 1/13/00 -0800, you wrote: >I am using the following two equations throughout a Grocer's site. Both >equations are being generated from the OrderFile...obviously. The first >one works, the second one doesn't. > >$[format 100.2f][math]SubTotalFigure=[lineitems][Quantity]*[showif >[Location]=Fresno][FresnoPrice][/showif][showif >[Location]=Hanford][HanfordPrice][/showif]+[/lineitems]0[/math][/format] > >$[format >100.2f][math]CRVFigure=[lineitems][Quantity]*[CRV]+[/lineitems]0[/math][/for >mat] > >With 5 sodas at .05 each and 1 soda at .05 (CRV) each, the above equation >gives me a total of 0.95, but it should be 0.30 > >I am also writing all of the purchased items to a database in order to >generate reports after the fact. From the database, the following equation >(same basic concept) also gives me an error...but a different one. > >$[format 100.2f][math]CRVFigure=[search >db=/blah/blah/blah/s4fpurchased.txt&eqCartdatarq=[cart]&neDelivereddatarq=ND >][founditems][Quantity]*[CRV]+[/founditems][/search]0[/math][/format] > >All of the equations appear to have the same basic format, at least to me >anyway...any ideas?? I have also tried the following without success... > >[math][lineitems]([Quantity]*[CRV])+[/lineitems]0[/math] > >*************************************************************************** >What you are speaks so loud that I cannot hear what you say. >- Ralph Waldo Emerson (1803-1882) - Philosopher and Writer - > > >------------------------------------------------------------- >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 > *************************************************************************** What you are speaks so loud that I cannot hear what you say. - Ralph Waldo Emerson (1803-1882) - Philosopher and Writer - ------------------------------------------------------------- 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 Kim Ingram

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:

Location of Browser Info.txt file (1997) two of the same named db's open at once (1998) b12 cannot limit records returned and more. (1997) New Web Site Developers Database (1996) Search Engine questions ... (2002) Permission denied? (2004) Trouble Searching (1999) Bug Report, maybe (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) Time Display from Database (1997) [off] Promotions Co? (1997) TCPConnect and SSL servers (2001) Server slowing down. (1997) unique ID (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) using showpage and showcart commands (1996) MS SQL (thats S not Y) (2004) Tech question about web dna actions (1998) WebDNA / Java Chat (2004) Log-in Scheme (2003)