Re: Round up prices
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31312
interpreted = N
texte = Ah, it was the Swedes. But tell me, how is 25 closer to 20 than 30?3*10 - 25 = 525 - 2*10 = 5???Is there an additional digit 20 and something that causes it to attract the rounding? Do you mean round to the nearest power of 10?Let's not even talk about the Japanese, who i understand use 3 decimal places instead of 2...John PeacockChrister Olsson wrote:> > >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> > We don't round 5 down. We round 5 to the nearest even 10: 15 is rounded to 20 and 25 is also rounded to 20.> > *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77> Sweden http://www.ljusaideer.se> > -------------------------------------------------------------> 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:
Ah, it was the Swedes. But tell me, how is 25 closer to 20 than 30?3*10 - 25 = 525 - 2*10 = 5???Is there an additional digit 20 and something that causes it to attract the rounding? Do you mean round to the nearest power of 10?Let's not even talk about the Japanese, who i understand use 3 decimal places instead of 2...John PeacockChrister Olsson wrote:> > >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> > We don't round 5 down. We round 5 to the nearest even 10: 15 is rounded to 20 and 25 is also rounded to 20.> > *************************************************************> Christer Olsson Stora Nygatan 21 Phone +46 40 791 50> Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77> Sweden http://www.ljusaideer.se> > -------------------------------------------------------------> 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:
Occasional crashes with $remove (1997)
Test (2002)
SSL, WebSTAR, WebCatalog (1998)
New Problem (1997)
Webcatalog server support (1997)
Web Catalog 2 demo (1997)
how does multiple [cart] commands work? (2007)
Email notification to one of multiple vendors ? (1997)
Members register & gain access system (1998)
format_to_days on NT (1997)
New WebMerchant/Mac beta available (1997)
Hiding HTML and page breaks (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
PIXO support (1997)
Reindexing a db with duplicate numbers... (1999)
[WebDNA] XSS and getting rid of HTML codes (2018)
Why does WebCat do this? (2001)
WebCat2b12 - New features for 1.6 users ... (1997)
Dreamweave MX/WebDNA (2003)
WebCat cannot handle compatible search parameters? (1997)