Re: taxrate - off by 1 cent
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12525
interpreted = N
texte = >On certain calculations of the tax rate (CA - 8.5%) the grand total adds>one more cent than the tax shown.>>I have a subtotal of $249.00 with tax at 8.5% come to $21.16. Yet the>grandtotal tells me $270.17. One cent is not going to irritate many>customers, but it does look bad from a interface perspective.Hmmm. I believe we're carrying thru the calculations at a higher precision than gets displayed at each sub-stage. The grand total is more accurate, because it uses the full precision.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>On certain calculations of the tax rate (CA - 8.5%) the grand total adds>one more cent than the tax shown.>>I have a subtotal of $249.00 with tax at 8.5% come to $21.16. Yet the>grandtotal tells me $270.17. One cent is not going to irritate many>customers, but it does look bad from a interface perspective.Hmmm. I believe we're carrying thru the calculations at a higher precision than gets displayed at each sub-stage. The grand total is more accurate, because it uses the full precision.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:
groupfields .. again... (2000)
'page impression' techniques for banner ads (1999)
searchable list archive (1997)
Loops and [index] (1998)
.html to .tpl; ***TIP (1998)
[CART] (1997)
Smart caching problems with 2.1b3? (1997)
A quickie question (1997)
relational db question (2002)
Requiring that certain fields be completed (1997)
New commands in Final candidate (1997)
Error Log.db --however (1997)
Setting up shop (1997)
SETCOOKIE Tricks (2003)
creator code (1997)
BBEdit and WebCatalog 2.0? (1997)
A question on sub-categories (1997)
[WebDNA] Has [middle] always worked this way? (2014)
[ot] What'd you all get me for my birthday? ;) (2003)
WebCatalog2 Feature Feedback (1996)