Re: taxrate - off by 1 cent

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12534
interpreted = N
texte = >So I guess I am stuck with the 1 cent problem? Curiously, it happens with >249.00$ and not yet with other prices or subtotals.Until we figure out the proper way to proceed, yes. The total is actually $270.165, and gets rounded up to $270.17 -- you will prbably see the same thing on totals that have an exact 1/2 cent hidden in them.There are tax/legal implications regarding subtle differences in the way tax is calculated, and how your particular government wants them computed. For instance, you could calculate tax on each lineitem separately, then add them up, or you could tax only the subtotal.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)
>So I guess I am stuck with the 1 cent problem? Curiously, it happens with >249.00$ and not yet with other prices or subtotals.Until we figure out the proper way to proceed, yes. The total is actually $270.165, and gets rounded up to $270.17 -- you will prbably see the same thing on totals that have an exact 1/2 cent hidden in them.There are tax/legal implications regarding subtle differences in the way tax is calculated, and how your particular government wants them computed. For instance, you could calculate tax on each lineitem separately, then add them up, or you could tax only the subtotal.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:

A question about security (1998) Using tags to create a file name (2000) WebCatalog Upgrade Pricing? (1997) emailer settings and control questions (1997) triggers (2003) Emailer and encryption (1997) Linux/webcat points (2000) [input] questions (1997) Databases inside [SHOWIF] (1998) REPOST: The old multiple selection bit (2000) search engine friendly URLS (Mac) and Lycos! (1998) Displaying xx number of characters (1997) no global [username] or [password] displayed ... (1997) mass mailing (1998) Shopping cart now bad (1997) FileMaker and WebCat - .hdr OK Merge not OK (1999) Too Much Rootbeer Free Offer (1997) RE: Upload (1998) Everyone: List Traffic (was [include ...] behavior) (1997) WebCatalog dying in WebTen Revisited (1998)