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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: taxrate - off by 1 cent (Grant Hulbert 1997)
  2. Re: taxrate - off by 1 cent (Kevin Furuta 1997)
  3. Re: taxrate - off by 1 cent (Grant Hulbert 1997)
  4. taxrate - off by 1 cent (Kevin Furuta 1997)
>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 Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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:

Weird problems with [SHOWIF]s (1997) How do you hide [math]stuff[/math] (1997) WebCat2b15MacPlugin - showing [math] (1997) aol (2000) Bad creator codes which cause access denied errormessage (1997) WebCatalog losing Data (2001) Copyright that puppy (1998) ListWords passing multi values in one form field (2000) shownext (1997) Using Plug-In while running 1.6.1 (1997) Multiple prices (1997) Security for malls with different webmasters (1998) Mac to Windows (2000) Upload Progress Bar (2003) WebCatalog for Postcards ? (1997) multi-paragraph fields (1997) WebCat NT v. Mac (1997) A Global Variable (1997) Re:Dumb Question about Docs (1997) [WebDNA] reply vs. new (2009)