Re: Odd [math] behaviour

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52759
interpreted = N
texte = Pat Holliday wrote: > [math]6000.4-5300.3[/math] > > returns > > 700.099999999999 > > Does anyone else find this behaviour? We're running WebDNA 5.1/MacOSX. > Standard floating point notation errors. If you are doing financial calculations, you can either round after the math or multiply everything by 100 and only divide by 100 for display. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Odd [math] behaviour ( Tim Robinson 2003)
  2. Re: Odd [math] behaviour ( John Peacock 2003)
  3. Re: Odd [math] behaviour ( Paul Willis 2003)
  4. Re: Odd [math] behaviour ( Donovan 2003)
  5. Re: Odd [math] behaviour ( John Peacock 2003)
  6. Re: Odd [math] behaviour ( "WebDna @" 2003)
  7. Re: Odd [math] behaviour ( John Peacock 2003)
  8. Re: Odd [math] behaviour ( Donovan 2003)
  9. Re: Odd [math] behaviour ( "WebDna @" 2003)
  10. Re: Odd [math] behaviour ( Pat Holliday 2003)
  11. Re: Odd [math] behaviour ( "WebDna @" 2003)
  12. Re: Odd [math] behaviour ( John Peacock 2003)
  13. Odd [math] behaviour ( Pat Holliday 2003)
Pat Holliday wrote: > [math]6000.4-5300.3[/math] > > returns > > 700.099999999999 > > Does anyone else find this behaviour? We're running WebDNA 5.1/MacOSX. > Standard floating point notation errors. If you are doing financial calculations, you can either round after the math or multiply everything by 100 and only divide by 100 for display. John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ John Peacock

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:

[shownext] and descending order (1997) Running 2 two WebCatalog.acgi's (1996) how to set a new cart number periodically (1999) Summing fields (1997) WebCatalog host... (2000) RE: [WebDNA] Installation problems for IIS 6 (2010) SendTo more emails (1998) Cart questions (1997) OT Cookie limit (2001) Quit revisited (1997) why is this line in GeneralStore? (1998) Shopping Cart Questions (1998) Is there a 'does not contain' comparison? (1999) Off Topic: MacOS X Server on iMac (2000) PCS Emailer's role ? (1997) Up and running ... at last !! (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) Using [Include] Context (1999) More on the email templates (I like it) (1997)