Re: Math Hell!

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26302
interpreted = N
texte = Ok, I was missing a [Quantity] in my CRVFigure formula. I would think it to work regardless, but I suppose not. Thanks!-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kimberly D Ingram Sent: Thursday, January 20, 2000 2:18 PM To: WebCatalog Talk Subject: Re: Math Hell! I am in a showcart command, and the Subtotal, Tax, Delivery, and CRV work fine. Only the Grand Total formula is in error...but only when purchasing more than one item. I hope it is obvious, but it's not obvious to me...not yet anyway.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Howard Wolosky Sent: Thursday, January 20, 2000 2:13 PM To: WebCatalog Talk Subject: Re: Math Hell! Just want to make sure (sometimes its the obvious things). Are you in an [orderfile] context or a showcart command? If not, you don't have access to lineitems, grandTotal, etc...At 02:07 PM 1/20/00, you wrote: >I have this same formula on two pages. On one page, the formulas are within >a [sendmail] command. On the other page, it is not. When in the [sendmail] >command, if a customer purchases more than one item...the Grand Total shows >as $0.00, however on the second page...that same cart # (where the customer >purchased more than one item)shows the correct total. Any ideas?!?!? >Please?!?! > > >$[format .2f][math]SubTotalFigure=[lineitems][Quantity]*[showif >[Location]=Fresno][FresnoPrice][/showif][showif >[Location]=Hanford][HanfordPrice][/showif]+[/lineitems]0[/math][/format] >Subtotal > >$[format .2f][math]TaxFigure=[SubTotalFigure]*[showif >[Location]=Fresno]0.07875[/showif][showif >[Location]=Hanford]0.0725[/showif][/math][/format] Tax > >$[format .2f][math]CRVFigure=[lineitems][CRV]+[/lineitems]0[/math][/format] >CRV > >$[format .2f][showif >[math].10*[SubTotalFigure][/math]<10.00][math]DeliveryFigure=10.00[/math][/ s >howif][showif >[math].10*[SubTotalFigure][/math]>10.00][math]DeliveryFigure=.10*[SubTotalF i >gure][/math][/showif][/format] Delivery > >$[format >.2f][math][SubTotalFigure]+[TaxFigure]+[CRVFigure]+[DeliveryFigure][/math][ / >format] Grand Total > > >------------------------------------------------------------- >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 > =============================================== Howard Wolosky Lead Programmer / Webmaster Lab2K, LLC +The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.thepubb.com) +Will It Work? -The World's Largest Year 2000 Compliance Search Engine (www.willitwork.com) ===============================================------------------------------------------------------------- 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 ------------------------------------------------------------- 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 Hell! (Kimberly D Ingram 2000)
  2. Re: Math Hell! (Kimberly D Ingram 2000)
  3. Re: Math Hell! (Howard Wolosky 2000)
  4. Math Hell! (Kimberly D Ingram 2000)
Ok, I was missing a [Quantity] in my CRVFigure formula. I would think it to work regardless, but I suppose not. Thanks!-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kimberly D Ingram Sent: Thursday, January 20, 2000 2:18 PM To: WebCatalog Talk Subject: Re: Math Hell! I am in a showcart command, and the Subtotal, Tax, Delivery, and CRV work fine. Only the Grand Total formula is in error...but only when purchasing more than one item. I hope it is obvious, but it's not obvious to me...not yet anyway.-----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Howard Wolosky Sent: Thursday, January 20, 2000 2:13 PM To: WebCatalog Talk Subject: Re: Math Hell! Just want to make sure (sometimes its the obvious things). Are you in an [orderfile] context or a showcart command? If not, you don't have access to lineitems, grandTotal, etc...At 02:07 PM 1/20/00, you wrote: >I have this same formula on two pages. On one page, the formulas are within >a [sendmail] command. On the other page, it is not. When in the [sendmail] >command, if a customer purchases more than one item...the Grand Total shows >as $0.00, however on the second page...that same cart # (where the customer >purchased more than one item)shows the correct total. Any ideas?!?!? >Please?!?! > > >$[format .2f][math]SubTotalFigure=[lineitems][Quantity]*[showif >[Location]=Fresno][FresnoPrice][/showif][showif >[Location]=Hanford][HanfordPrice][/showif]+[/lineitems]0[/math][/format] >Subtotal > >$[format .2f][math]TaxFigure=[SubTotalFigure]*[showif >[Location]=Fresno]0.07875[/showif][showif >[Location]=Hanford]0.0725[/showif][/math][/format] Tax > >$[format .2f][math]CRVFigure=[lineitems][CRV]+[/lineitems]0[/math][/format] >CRV > >$[format .2f][showif >[math].10*[SubTotalFigure][/math]<10.00][math]DeliveryFigure=10.00[/math][/ s >howif][showif >[math].10*[SubTotalFigure][/math]>10.00][math]DeliveryFigure=.10*[SubTotalF i >gure][/math][/showif][/format] Delivery > >$[format >.2f][math][SubTotalFigure]+[TaxFigure]+[CRVFigure]+[DeliveryFigure][/math][ / >format] Grand Total > > >------------------------------------------------------------- >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 > =============================================== Howard Wolosky Lead Programmer / Webmaster Lab2K, LLC +The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.thepubb.com) +Will It Work? -The World's Largest Year 2000 Compliance Search Engine (www.willitwork.com) ===============================================------------------------------------------------------------- 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 ------------------------------------------------------------- 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 Kimberly D 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:

Re:quit command on NT (1997) [WebDNA] An unknown error occured // Deadlock avoided (2011) emailer settings and control questions (1997) Netscape v. IE (1997) Running _every_ page through WebCat ? (1997) Problems with [Search] param - Mac Plugin b15 (1997) RE: template security preferences????? (1998) Upload files script (2003) DHTML or Java Programmers (2000) [WebDNA] is this expected behavior for [arrayget]? (2009) what's the voodoo for Quit revisited (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Explorer 3.0/ Access Denied! (1997) newcart (1997) question: back button prevention (1997) To Err or Not Custom Error (1999) Upgrading old WebCat Database Files (1997) WC2b15 File Corruption (1997) Multiple Ad databases? (1997)