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:

Extended [ConvertChars] (1997) Linux Beta4 problems with multirecord returns (2000) Simple way to create unique SKU (1997) New Lawsuit Alleges Unitedhealth/Pacificare Deceived (2006) value in forms (2000) Urgent help needed (1998) HELP WITH DATES (1997) shipcost and Formulas.db (2000) Quit revisited (1997) WebCommerce: Folder organization ? (1997) [OT] Mozilla | Was: R.I.P. Netscape (2003) shared_POP and archiving your own mailing list (2003) Alternating colors (1997) Test - sorry (2003) WebCat2b12plugin - [search] is broken ... not! (1997) WebCat2 - Getting to the browser's username/password data (1997) [numfound] for [listfiles] (1998) Bug Report, maybe (1997) Using Cookie for client specific info? (1997) shoppingcart reload qty (1997)