Re: Tax Rates returns only 0.00
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 30410
interpreted = N
texte = > Hey Folks--> > I'm making progress but I'm stumped. I can't get my Invoice.tpl to> return anything but 0.00 for the WV tax rate.If your formulas.db does not work for taxtotal, just force it with aSetHeader ...Like, for AZ (7.2% sales taxes):[text show=f]TaxTotal=0.00[/text][showif [State]=AZ][text show=f]TaxTotal=[format.2f][math][SubTotal]*.072[/math][/format][/text][/showif][SetHeader cart=[cart]]TaxTotal=[TaxTotal][/SetHeader]Why the Formulas.db does not work, you could spend the time to find out, butyou'd rather get going and just force the header in the cart if you have tomake a working template right now.-------------------------------------------------------------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:
> Hey Folks--> > I'm making progress but I'm stumped. I can't get my Invoice.tpl to> return anything but 0.00 for the WV tax rate.If your formulas.db does not work for taxtotal, just force it with aSetHeader ...Like, for AZ (7.2% sales taxes):[text show=f]TaxTotal=0.00[/text][showif [State]=AZ][text show=f]TaxTotal=[format.2f][math][SubTotal]*.072[/math][/format][/text][/showif][SetHeader cart=[cart]]TaxTotal=[TaxTotal][/SetHeader]Why the formulas.db does not work, you could spend the time to find out, butyou'd rather get going and just force the header in the cart if you have tomake a working template right now.-------------------------------------------------------------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
Nicolas Verhaeghe
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:
Using Plug-In while running 1.6.1 (1997)
[shell] (2003)
the comparison character \ (2000)
[WebDNA] Procedures to update to OSX Yosemite (2014)
[ShowIf] and empty fields (1997)
Separate SSL Server (1997)
AutoNumber not working (2004)
Last digit of Credit Card Stripped (1997)
[math] oddness .. (2002)
Location of Browser Info.txt file (1997)
Text data with spaces in them... (1997)
Error Log.db --however (1997)
pc (1997)
Polls (2003)
(1997)
WebCat B13 Mac CGI -- Frames question (1997)
Locking up with WebCatalog... (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Snake Bites (1997)
Quiestion (1997)