Re: taxTotal
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14900
interpreted = N
texte = At 06:41 PM 11/19/97, you wrote:Paul, you should be pleased with all the stuff you figured out in the lastweek! =)I did have problems with both of those items, Grant pointed me toward thedatabase having a problem with the taxable=t or f, and that's what it was.I will however keep you workaround, (along with the hundreds of otherpieces of mail floating in and out of this list) you can never be too careful.Thank's!Ray>Ray,>>for me, things don't always work as expected. I also had a problem with>[taxTotal] on my second store. I was following the Tearoom example and I>must not have had taxable set incorrectly. I came up with this workaround.>I am not saying that this is the right way to do this. It is simply another>way.>>Try this: substitute this $[format>.2f][math][taxrate]*[subtotal]*.01[/math][/format] for [taxtotal]>>If webCat is returning the correct [taxrate] and your [subtotal] is>correct, then this will work.>>Also you may wish to substitute a corresponding formula for [grandTotal] as>I believe it relies on a correct [taxtotal] to get things right: $[format>.2f][math][math][shippingtotal]+[subtotal][/math]+[math][taxrate]*[subtotal]*.01>[/math][/math][/format]>>Ken or Grant can probably tell you exactly how to do it correctly, but this>should work (and I'm pleased with myself for figuring it out!).>>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:
At 06:41 PM 11/19/97, you wrote:Paul, you should be pleased with all the stuff you figured out in the lastweek! =)I did have problems with both of those items, Grant pointed me toward thedatabase having a problem with the taxable=t or f, and that's what it was.I will however keep you workaround, (along with the hundreds of otherpieces of mail floating in and out of this list) you can never be too careful.Thank's!Ray>Ray,>>for me, things don't always work as expected. I also had a problem with>[taxTotal] on my second store. I was following the Tearoom example and I>must not have had taxable set incorrectly. I came up with this workaround.>I am not saying that this is the right way to do this. It is simply another>way.>>Try this: substitute this $[format>.2f][math][taxrate]*[subtotal]*.01[/math][/format] for [taxtotal]>>If webCat is returning the correct [taxrate] and your [subtotal] is>correct, then this will work.>>Also you may wish to substitute a corresponding formula for [grandTotal] as>I believe it relies on a correct [taxtotal] to get things right: $[format>.2f][math][math][shippingtotal]+[subtotal][/math]+[math][taxrate]*[subtotal]*.01>[/math][/math][/format]>>Ken or Grant can probably tell you exactly how to do it correctly, but this>should work (and I'm pleased with myself for figuring it out!).>>Paul>>>>>>> _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_> _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_> _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_> _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_> _/_/_/ Real Estate - _\_\_\_\_> _/_/_/Websites - Children _/ _\_\_\_>_/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_>>>>
Raymond Hatch
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:
Text data with spaces in them... (1997)
CA sales tax (1998)
Removing [showif] makes a big difference in speed (1997)
Remove me from your list immeadiately (1998)
Multiple condition showif's (2004)
Server slowing down. (1997)
[WebDNA] Stupid question about CentOS v4 and WebDNA v6 (2008)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
color and size options (1997)
Emailer file formats (1998)
price totals (2003)
FWD: Autoproxy Bug with WebCatalog and FireSite (1997)
RE: Signal Raised (1997)
Looking for PHP programmer (2007)
WebCatalog Upgrade Pricing? (1997)
It just Does't add up!!! (1997)
Context and commands (1998)
Simple way to create unique SKU (1997)
[WebDNA] [hideif]'s not working in [sendmail] (2008)
Grant, please help me ... (1997)