Re: Round up prices

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31332
interpreted = N
texte = on 5/3/00 10:35 AM, John Peacock at JPeacock@UnivPress.com wrote:> It is rare that you would repetively round each decimal place in turn: > > 0.555 rounds to 0.56 (two decimals) or 0.6 (one decimal) > 0.445 rounds to 0.45 (two decimals) or 0.4 (one decimal) > 0.325 rounds to 0.33 (two decimals) or 0.3 (one decimal) > > You don't perform the round operation at each place. Think of the > second example as 45/1000's is < 50/1000's so it rounds to 0.4 instead > of 0.5. > > John Peacock > Told you I sucked at math :) Thanks though it makes sense.-- A joke is a very serious thing. Sir Winston Churchill (1874-1965)  ------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Round up prices (Aaron Lynch 2000)
  2. Re: Round up prices (John Peacock 2000)
  3. Re: Round up prices (Aaron Lynch 2000)
  4. Re: Round up prices (John Peacock 2000)
  5. Re: Round up prices (Christer Olsson 2000)
  6. Re: Round up prices (Mark Derrick 2000)
  7. Re: Round up prices (John Peacock 2000)
  8. Re: Round up prices (Christer Olsson 2000)
  9. Re: Round up prices (John Peacock 2000)
  10. Re: Round up prices (John Butler 2000)
  11. Re: Round up prices (Scott Tolley 2000)
  12. Re: Round up prices (Mark Derrick 2000)
  13. Re: Round up prices (Mark Derrick 2000)
  14. Re: Round up prices (Kenneth Grome 2000)
  15. Round up prices (Mark Derrick 2000)
on 5/3/00 10:35 AM, John Peacock at JPeacock@UnivPress.com wrote:> It is rare that you would repetively round each decimal place in turn: > > 0.555 rounds to 0.56 (two decimals) or 0.6 (one decimal) > 0.445 rounds to 0.45 (two decimals) or 0.4 (one decimal) > 0.325 rounds to 0.33 (two decimals) or 0.3 (one decimal) > > You don't perform the round operation at each place. Think of the > second example as 45/1000's is < 50/1000's so it rounds to 0.4 instead > of 0.5. > > John Peacock > Told you I sucked at math :) Thanks though it makes sense.-- A joke is a very serious thing. Sir Winston Churchill (1874-1965)  ------------------------------------------------------------- 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 Aaron Lynch

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:

Multiple fields on 1 input (1997) syntax question, not in online refernce (1997) Multiple catalog databases and showcart (1997) can WC render sites out? (1997) Summing fields (1997) Sorry WebDNA server not running ????? (2002) A question on sub-categories (1997) Help with Repost Data msg from form (1997) webcat/webmerchant docs (1997) ReturnRaw context (1997) Moment of Thanks (1997) ListFields and [name] (1997) Upgrading old WebCat Database Files (1997) File commands and Wild Cards ?? (1998) MacAuthorize order data fields WAS:How To question... (1997) WebCat2 - Getting to the browser's username/password data (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) [SHOWIF AND/OR] (1997) .hdr in older Vers. (2003) CommandSecurity? (1997)