Re: inconsistent webcat calculation?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15008
interpreted = N
texte = >Just out of curiosity is there something bogus about the former way I did it?No, but you didn't say what was wrong either. I'll assume the numbers are slightly different, and that you were getting rounding errors based on your .2f formatting.Inside a math context, all numbers are computed out to a zillion digits. If you force the numbers down to fewer digits, they get rounded up or down.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: inconsistent webcat calculation? (Grant Hulbert 1997)
  2. inconsistent webcat calculation? (w curt eggemeyer 1997)
>Just out of curiosity is there something bogus about the former way I did it?No, but you didn't say what was wrong either. I'll assume the numbers are slightly different, and that you were getting rounding errors based on your .2f formatting.Inside a math context, all numbers are computed out to a zillion digits. If you force the numbers down to fewer digits, they get rounded up or down.Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 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:

Emailer (1999) Bug? (1997) More on the email templates (1997) [Webcat 2]Next (1997) Great product and great job ! (1997) [ot] ascii values for lf and cr (2001) Database Locking?!? (2000) emailer (1997) [convertchars] HELP!!! (1999) Emailer.Out (1998) Non-Cart Files in Shopping Cart Folder (1997) TCPConnect/TCPSend/FTP syntax (2000) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) Feature Request (2003) Dark Horse Comics success story (1997) Difficult Alternating Problem (2001) [WebDNA] Use of :global: (2013) Lookup question (2001) Download URL & access on the fly ? (1997) expired beta (1997)