Problems with totals

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 14677
interpreted = N
texte = For those who have had problems with totals..... [taxtotal] & [grandtotal] and adding a field to your database for taxable doesn't work for you (like it didn't work for me), I came up with a work around.I substituted this for [taxtotal] $[format .2f][math][taxrate]*[subtotal]*.01[/math][/format]And this for [grandtotal] $[format .2f][math][math][shippingtotal]+[subtotal][/math]+[math][taxrate]*[subtotal]*.01 [/math][/math][/format]I was surprised that it works (at least for me). I'm getting into this WebCat stuff!Later, Paul _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_ _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_ _/_/_/ Real Estate - _\_\_\_\_ _/_/_/Websites - Children _/ _\_\_\_ _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Associated Messages, from the most recent to the oldest:

    
  1. Problems with totals (Paul Uttermohlen 1997)
For those who have had problems with totals..... [taxtotal] & [grandtotal] and adding a field to your database for taxable doesn't work for you (like it didn't work for me), I came up with a work around.I substituted this for [taxtotal] $[format .2f][math][taxrate]*[subtotal]*.01[/math][/format]And this for [grandtotal] $[format .2f][math][math][shippingtotal]+[subtotal][/math]+[math][taxrate]*[subtotal]*.01 [/math][/math][/format]I was surprised that it works (at least for me). I'm getting into this WebCat stuff!Later, Paul _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_ _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_ _/_/_/ Real Estate - _\_\_\_\_ _/_/_/Websites - Children _/ _\_\_\_ _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Paul Uttermohlen

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:

Documentation Feedback (1997) [BULK] RE: [WebDNA] [BULK] WebDNA Windows Install (2016) ShipToState question (1998) Emailer [cart] file names (1997) Are Talk List Archives off line (2000) Sendmail truncation in Eudora Clients (1998) WebCat2 - [format thousands] (1997) webcat2b12 CGI -- Date comparisons (1997) Retrospect Backup Misses Empty Folders (2000) Trigger problem (2003) [taxRate] [TaxTotal] ? (1997) Any WebCatters going to CeBit in Hanover, Germany? (2000) OT: Limit on # of Pulldown entries (1997) I think WebDNA-Talk died ... :( (1997) Help! WebCat2 bug (1997) Max Record length restated as maybe bug (1997) Forms (1997) Another search question please... (1998) [OT] See Flash? (2003) A quickie question (1997)