Math Hell!
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26298
interpreted = N
texte = I have this same formula on two pages. On one page, the formulas are withina [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 showsas $0.00, however on the second page...that same cart # (where the customerpurchased 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][/showif][showif[math].10*[SubTotalFigure][/math]>10.00][math]DeliveryFigure=.10*[SubTotalFigure][/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
Associated Messages, from the most recent to the oldest:
I have this same formula on two pages. On one page, the formulas are withina [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 showsas $0.00, however on the second page...that same cart # (where the customerpurchased 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][/showif][showif[math].10*[SubTotalFigure][/math]>10.00][math]DeliveryFigure=.10*[SubTotalFigure][/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
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:
problems with 2 tags (1997)
.hdr files (2004)
The Guru Speaks-Is That Really the Only Manuel? (1998)
SKU lookup (1997)
free "Image Viewer" widget (2004)
[WebDNA] Crashing Database (2011)
Re:UPS, FEDEX TRACKING (1999)
Sku numbers (1997)
emailer and bad addresses (1997)
No comment (1997)
rounding onlu UP (2002)
[sendmail] v. [writefile] (2000)
New Image Gallery using WebDNA and ImageMagick (2003)
[append] and SSL (1997)
And/or Search (1998)
Nested vs conditional (1997)
Adding Message to Order (1997)
Extended [ConvertChars] (1997)
WebCatalog can't find database (1997)
Sorting by date (1997)