shipping & multiple comparisons?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32741
interpreted = N
texte = trying to get the following to work as replacement for[grandtotal]. [ship] is [text]ship=[math]0[lineitems]+[quantity][/lineitems][/math][/text]which works great:[showif [ship]<3][math][subtotal]+4.50[/math][/showif][showif [ship]^3,4,5][math][subtotal]+6.00][/math][/showif][showif [ship]>5][math][subtotal]*.15[/math][/showif]<3 and >5 works fine obviously, but I'm having trouble withmultiple comparisons ala the middle one... I also triedsplitting them up like:[showif [ship]=3][math][subtotal]+6.00][/math][/showif][showif [ship]=4][math][subtotal]+6.00][/math][/showif][showif [ship]=5][math][subtotal]+6.00][/math][/showif]but that just displays 0 for some reason... I'm close, butwhat do I need to get that 3-5 to work at $6.00?? Thanks andforgive if this is obvious.. I couldn't find what I need inthe list archives or docs yet on inclusive comparisons etc.-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
trying to get the following to work as replacement for[grandtotal]. [ship] is [text]ship=[math]0[lineitems]+[quantity][/lineitems][/math][/text]which works great:[showif [ship]<3][math][subtotal]+4.50[/math][/showif][showif [ship]^3,4,5][math][subtotal]+6.00][/math][/showif][showif [ship]>5][math][subtotal]*.15[/math][/showif]<3 and >5 works fine obviously, but I'm having trouble withmultiple comparisons ala the middle one... I also triedsplitting them up like:[showif [ship]=3][math][subtotal]+6.00][/math][/showif][showif [ship]=4][math][subtotal]+6.00][/math][/showif][showif [ship]=5][math][subtotal]+6.00][/math][/showif]but that just displays 0 for some reason... I'm close, butwhat do I need to get that 3-5 to work at $6.00?? Thanks andforgive if this is obvious.. I couldn't find what I need inthe list archives or docs yet on inclusive comparisons etc.-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Parker
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:
Redirect frame targets (1998)
[WebDNA] Need to convert unix date? (2009)
Bug? (1997)
Add htmlarea 3 to SiteBuilder (2004)
Template Security error (1997)
writing orders to a db (1997)
carriage returns in data (1997)
When do we get to request new features? (1999)
problems with 2 tags shakur (1997)
Newbie needs advice to learn to use WebDNA (2003)
Looking for work (2005)
Calendar (1997)
Password Authentication - request example (1998)
WebCatalog can't find database (1997)
Download capabilities (1997)
NT considerations (1997)
PCS Frames (1997)
Include Troubles (1998)
Separate SSL Server (1997)
Re:need help please (1997)