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 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>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 | Typhoon619/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:
autocommit problem (1998)
OT: CSS and Positioning (2001)
php vs WebCatalog (2000)
Rumpus/Typhoon modules included in Typhoon ... (1997)
inetinfo.exe (1999)
Is this too many webcat processes? (I don't know how to read this) (2000)
Multiple Pulldowns (1997)
[WebDNA] Webcat install on Windows 2003 Server web edition - (2010)
totals (1997)
[Q] Novice's question (1997)
SQL (2004)
Pithy questions on webcommerce & siteedit (1997)
View order not right (1997)
Extended [ConvertChars] (1997)
Configuring E-mail (1997)
Mass Mail (2000)
Can this be done? (2003)
Not really WebCat (1997)
change the number format (1997)
How is it done? (1998)