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 PMSubject: 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:
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 PMSubject: 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:
Customizing WebDelivery.html (1998)
[WebDNA] MD5 Hash issue (2009)
Calculating multiple shipping... (1997)
Sku numbers (1997)
Format question WC Mac f3 (1997)
Dumb Question about Docs (1997)
Mail Service Dead (1998)
Summing fields (1997)
Code for Accessing E-mail Accounts (2005)
Need help with emailer- 2 issues (1997)
Quitting WebMerchant ? (1997)
sorting and grouping (1998)
dreamweaver mx (2002)
Creating a webcounter - for another site (2000)
Problems appending to database (1997)
Running WebCat from a CD-ROM (1997)
[WebDNA] WebDNA7 site randomly dropping tags (2011)
WebCatalog for Postcards ? (1997)
Admin Edit prob. (1997)
Verifying and adding new users (1997)