Re: rounding onlu UP

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40464
interpreted = N
texte = There could be a simpler way, than what I did. If there is any simpler method, I would be glad to know about it. ===================================================== [text]theNum=10.00[/text] [listwords words=[theNum]&delimiters=.] [SHOWIF [index]=1][text]temp1=[word][/text][/showif] [SHOWIF [index]=2][text]temp2=[word][/text][/showif] [/listwords] [text]theNum=[temp1][/text] [SHOWIF [temp2]>0][text]theNum=[math][theNum]+1[/math][/text][/showif] [theNum] ======================================================= Anup Setty ----- Original Message ----- From: Kalin Mintchev To: WebCatalog Talk Sent: Wednesday, June 05, 2002 3:56 PM Subject: rounding onlu UP > > > hi everybody, > > i tryed the list but i get: > Error: the database 'WebDNA-Talk.db' could not be found or opened Last > Updated: Sunday, December 31, 000/ at PST > > and i haven't been getting any list emails but i'll try to post this > question anyway.. > > how can i do ONLY up rounding? i'd like decimals to round only up to the > next whole number ex. 0.1 to go to 1 and 1.1 to round up to 2 etc.... > i'm sure there is something on the list .. only if i could get to it.... > > thank you > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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: rounding onlu UP (Will Starck 2002)
  2. Re: rounding onlu UP (Dan Strong 2002)
  3. Re: rounding onlu UP (Kalin Mintchev 2002)
  4. Re: rounding onlu UP (Anup Setty 2002)
  5. Re: rounding onlu UP (Joseph D'Andrea 2002)
  6. Re: rounding onlu UP (John Peacock 2002)
  7. Re: rounding onlu UP (Anup Setty 2002)
  8. rounding onlu UP (Kalin Mintchev 2002)
There could be a simpler way, than what I did. If there is any simpler method, I would be glad to know about it. ===================================================== [text]theNum=10.00[/text] [listwords words=[theNum]&delimiters=.] [SHOWIF [index]=1][text]temp1=[word][/text][/showif] [SHOWIF [index]=2][text]temp2=[word][/text][/showif] [/listwords] [text]theNum=[temp1][/text] [SHOWIF [temp2]>0][text]theNum=[math][theNum]+1[/math][/text][/showif] [theNum] ======================================================= Anup Setty ----- Original Message ----- From: Kalin Mintchev To: WebCatalog Talk Sent: Wednesday, June 05, 2002 3:56 PM Subject: rounding onlu UP > > > hi everybody, > > i tryed the list but i get: > Error: the database 'WebDNA-Talk.db' could not be found or opened Last > Updated: Sunday, December 31, 000/ at PST > > and i haven't been getting any list emails but i'll try to post this > question anyway.. > > how can i do ONLY up rounding? i'd like decimals to round only up to the > next whole number ex. 0.1 to go to 1 and 1.1 to round up to 2 etc.... > i'm sure there is something on the list .. only if i could get to it.... > > thank you > > > ------------------------------------------------------------- > 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/ > ------------------------------------------------------------- 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/ Anup Setty

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:

Summing fields (1997) date pref (1999) calculating tax rates, mail order solutions and version 2 (1997) [WebDNA] add hours over 24 (2014) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) OT-JS why it does not run on Mac (2001) Logging purchases (1997) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) shipcost (1997) Now you see it now you donīt (1997) Request Time Out (1997) WC TableGrinder (1997) problem serving foreign languages text (1997) Custom WebCat Prefs ... (1997) DHTML Tag Feature (2000) WebCat2b13MacPlugin - [math][date][/math] problem (1997) pdf files? (2001) Please.. copies of Digest for 7/29 and 7/30? (1997) autocommit problem (1998) [WriteFile] problems (1997)