[math] error
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26157
interpreted = N
texte = I am using the following two equations throughout a Grocer's site. Bothequations are being generated from the OrderFile...obviously. The firstone 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] $[format100.2f][math]CRVFigure=[lineitems][Quantity]*[CRV]+[/lineitems]0[/math][/format]With 5 sodas at .05 each and 1 soda at .05 (CRV) each, the above equationgives me a total of 0.95, but it should be 0.30I am also writing all of the purchased items to a database in order togenerate 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=[searchdb=/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 meanyway...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
Associated Messages, from the most recent to the oldest:
I am using the following two equations throughout a Grocer's site. Bothequations are being generated from the OrderFile...obviously. The firstone 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] $[format100.2f][math]CRVFigure=[lineitems][Quantity]*[CRV]+[/lineitems]0[/math][/format]With 5 sodas at .05 each and 1 soda at .05 (CRV) each, the above equationgives me a total of 0.95, but it should be 0.30I am also writing all of the purchased items to a database in order togenerate 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=[searchdb=/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 meanyway...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
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:
Online magazine- monthly updates and such (1999)
Help name our technology! (1997)
Databases (2000)
Appendfile memory usage (redux) (2003)
emailer w/F2 (1997)
Problems with [Applescript] (1997)
More questions about serial number dishing (1997)
Smith Micro - no competition (2000)
Where's Cart Created ? (1997)
RE: Emailer Set Up (1997)
[ModDate] & [ModTime] ? (1997)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Add more fields to an existent data base (1997)
The max=0 issue is a bug ... CALL TO ACTION (2000)
[random] only for 1-100??? (1997)
Showing unopened cart (1997)
PCS Frames (1997)
Web Developer Product Awards (1997)
New commands in Final candidate (1997)
Preventing Merchant Settling ? (1997)