Re: Round up prices
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31317
interpreted = N
texte = >Ah, it was the Swedes.It's always the Swedes (you'll soon see in S:t Petersburg ;-)> But tell me, how is 25 closer to 20 than 30?>3*10 - 25 = 5>25 - 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?English is not my native language so honestly I have no idea if I mean the nearest power of 10..5 is rounded to nearest even integer, like: 1.5 is rounded to 2, 3.5 is rounded to 4 and 6.5 is rounded to 6. Multiply with 10 and you get how 5, 15 and so on is rounded. ************************************************************* 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
Associated Messages, from the most recent to the oldest:
>Ah, it was the Swedes.It's always the Swedes (you'll soon see in S:t Petersburg ;-)> But tell me, how is 25 closer to 20 than 30?>3*10 - 25 = 5>25 - 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?English is not my native language so honestly I have no idea if I mean the nearest power of 10..5 is rounded to nearest even integer, like: 1.5 is rounded to 2, 3.5 is rounded to 4 and 6.5 is rounded to 6. Multiply with 10 and you get how 5, 15 and so on is rounded. ************************************************************* 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
Christer Olsson
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:
Bug Report, maybe (1997)
whole word matching (2004)
Signal Raised error (1997)
Frames (1997)
looking for developers with solutions (2000)
WebDNA Quick Reference (Reserved Words) (2000)
watch out for format_to_days on NT (1997)
searchable list archive (1997)
Signal Raised (1997)
WebCatalog for guestbook ? (1997)
Looking up two prices in database? (1997)
Text data with spaces in them... (1997)
WebCat b13 CGI -shownext- (1997)
Date search - yes or no (1997)
WebCat2 - Getting to the browser's username/password data (1997)
PHP Live (2005)
Bug or syntax error on my part? (1997)
Trouble with my database (1998)
Search/sort in URL Was: GuestBook example (1997)
Custom WebCat Prefs ... (1997)