Re: Round up prices

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31301
interpreted = N
texte = This was discussed in another forum not too long ago, and I seem to recall that there was at least 1 scandanavian country that rounded 5 down for financial purposes only. I agree with you, but don't make assumptions about other people's rounding. That is one reason why the POSIX Locale settings for currency settings are a black art; it would be nice if WebCat supported that. I have written Math::Currency, a Perl module that attempts to play nice where ever you happen to be located.John PeacockScott Tolley wrote: > > I agree... > % is the number to start rounding upwards, as 0 thru 4 are the first 5 > numbers, 5 thru 9 are the second 5 numbers in base 10. (decimal) > > Scott. > > > From: John Butler > > Reply-To: (WebCatalog Talk) > > Date: Wed, 03 May 2000 11:22:22 > > To: (WebCatalog Talk) > > Subject: Re: Round up prices > > > > > > > > Mark Derrick wrote: > > > >> I'm still working on this problem, but it seems to be a deeper problem than > >> I first thought. > >> > >> Is it generally thought that it's right to round up when it's .xx5? or could > >> this be considered a bug? > > > > if you're asking what is appropriate in proper math/science when trying to > > reduce the number of significant figures, then my > > understanding is to round up starting with 5. > > I.e. Yes. > > > > -John > > > > > > > > ------------------------------------------------------------- > > 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 > > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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)
This was discussed in another forum not too long ago, and I seem to recall that there was at least 1 scandanavian country that rounded 5 down for financial purposes only. I agree with you, but don't make assumptions about other people's rounding. That is one reason why the POSIX Locale settings for currency settings are a black art; it would be nice if WebCat supported that. I have written Math::Currency, a Perl module that attempts to play nice where ever you happen to be located.John PeacockScott Tolley wrote: > > I agree... > % is the number to start rounding upwards, as 0 thru 4 are the first 5 > numbers, 5 thru 9 are the second 5 numbers in base 10. (decimal) > > Scott. > > > From: John Butler > > Reply-To: (WebCatalog Talk) > > Date: Wed, 03 May 2000 11:22:22 > > To: (WebCatalog Talk) > > Subject: Re: Round up prices > > > > > > > > Mark Derrick wrote: > > > >> I'm still working on this problem, but it seems to be a deeper problem than > >> I first thought. > >> > >> Is it generally thought that it's right to round up when it's .xx5? or could > >> this be considered a bug? > > > > if you're asking what is appropriate in proper math/science when trying to > > reduce the number of significant figures, then my > > understanding is to round up starting with 5. > > I.e. Yes. > > > > -John > > > > > > > > ------------------------------------------------------------- > > 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 > > > > ------------------------------------------------------------- > 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 ------------------------------------------------------------- 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 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:

[/application] error? (1997) Modifying order output (1997) syntax question, not in online refernce (1997) FM PRO Compatibility Issue - Single Database w/o Conversions (1997) Enhancement Request for WebCatalog-NT (1996) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Re:quit command on NT (1997) New site announcement + Showing once on a founditems (1997) Shipping Tables (1999) RE: OK, here goes... (1997) authenticating a second user (1997) on/off values (2000) Mac GUI editors (1997) Formvariable won't update (1999) Emailer (1997) [WebDNA] 301 redirect (2016) WebMerchant MacAuthorize Hub (1999) Shopping problems with 2.1b3 acgi (1997) Faxing orders in place of email (1997) Delete problem (2005)