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 thisWebCat 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:
|
- 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 thisWebCat 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:
Listserver problem (1997)
test (2002)
Make sure I understand this??? (1997)
RequiredFields (2000)
Quickie question on the email templates (1997)
Bug Report, maybe (1997)
Redirect in 4.0 (2000)
WebDNA 6 (2004)
Emailer Error: 158 (2003)
Why isn't this working (1999)
Shipping charge question (2003)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
[REFERRER] AND Truncation (1998)
Using Encrypt/Decrypt (2003)
[WebDNA] Accepting Payments on Site (2013)
Bad suffix error (1997)
WebCat2b15MacPlugin - [protect] (1997)
[returnraw] and form variables (1998)
Bug? (1997)
Adding Header Values with [SetHeader] (1998)