Roundup

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36557
interpreted = N
texte = Has any Webcater out there worked around rounding up to the .05?I have some calucations which come out as 65.13. What I need is to have to round up or down. Here in Switzerland we usually dont use the 1 cent, 2 cent, etc. We round everything up or down.Everything below 5 is rounded down and everything above up. So 65.13 should acutally show 63.10 and 63.17 should be 63.20.Trying ceil and floor does not help because it rounds the whole int and not only the .05 part. Any work arounds?Sincerely, Nitai Aventaggiato -- We make tools to energize your business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Roundup (Nitai @ ComputerOil 2001)
  2. Re: Roundup (Peter Werno 2001)
  3. Re: Roundup (Will Starck 2001)
  4. Re: Roundup (Kenneth Grome 2001)
  5. Re: Roundup (Brian Fries 2001)
  6. Roundup (Nitai @ ComputerOil 2001)
  7. Re: Roundup function? (Grant Hulbert 1997)
  8. Roundup function? (w curt eggemeyer 1997)
Has any Webcater out there worked around rounding up to the .05?I have some calucations which come out as 65.13. What I need is to have to round up or down. Here in Switzerland we usually dont use the 1 cent, 2 cent, etc. We round everything up or down.Everything below 5 is rounded down and everything above up. So 65.13 should acutally show 63.10 and 63.17 should be 63.20.Trying ceil and floor does not help because it rounds the whole int and not only the .05 part. Any work arounds?Sincerely, Nitai Aventaggiato -- We make tools to energize your business Content Management & eBusiness SystemsComputerOil GmbH http://computeroil.com Hauptstrasse 12 info@computeroil.com 8252 Schlatt/Switzerland Tel: +41 (0)52 654 15 55 ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Nitai @ ComputerOil

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:

NetForms for email (1998) [WebDNA] Logout via authenticate (2011) Setting up WebCatalog with Retail Pro data (1996) splitting numbers in webDNA? (1997) WebCatalog for guestbook ? (1997) Clean Code: Rules for inserting keyboard returns? (1997) Unauthorized User trouble (1998) You *can!!* overwrite username/password using an HTML form. Also, experts *please* see Q at end (2000) Count regular expressions in a file (2007) My slower response (1997) OSX Dev Server? (2004) if else problem (2003) Multiple Pulldowns/Gary (1997) ImageMagick (2005) WebCat 4 crashes WebStar / Shownext Links (2001) Type 11 errors setting up WebCAt 2 (1997) Date Help! (2003) Two submit buttons ? (1997) Re[2]: Field Problem (2000) Using Cookie for client specific info? (1997)