Question re: Format command

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34777
interpreted = N
texte = Hi all, just wondering if there is any way for WebCat to handle the following.I have a calculation which outputs a percentage, such as 0.57. Is there a way to get rid of the 0. using the format command? so far I can only truncate it down to round up the hundreths place, giving me 0.xx, xx being the percentage, when really I just want to display xx%. Any ideas on how to do this?Thanks!Christopher Feyrer------------------------------------------------------------- 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: Question re: Format command (Christopher Feyrer 2000)
  2. Re: Question re: Format command (Sam Lewis 2000)
  3. Re: Question re: Format command (John Winningham 2000)
  4. Question re: Format command (Christopher Feyrer 2000)
Hi all, just wondering if there is any way for WebCat to handle the following.I have a calculation which outputs a percentage, such as 0.57. Is there a way to get rid of the 0. using the format command? so far I can only truncate it down to round up the hundreths place, giving me 0.xx, xx being the percentage, when really I just want to display xx%. Any ideas on how to do this?Thanks!Christopher Feyrer------------------------------------------------------------- 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/ Christopher Feyrer

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:

synching databases on multiple servers (1997) Show shoppingcart after remove last item (1997) using showpage and showcart commands (1996) color (1999) WebCatalog can't find database (1997) Re:HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) New public beta available (1997) [defined]ish (1997) Kaaaaahhhhhhhnnnnnnn! (1997) How is it done? (1998) [WebDNA] Debian Lenny, Lighttpd and WebDNA FastCGI ... (2010) Single Link browsing (1997) Oracle XE (2006) question: back button prevention (1997) using listfiles to build a database? more (2000) help needed: Non-english characters in WebCatalog (1997) Help! WebCat2 bug (1997) WebDNA 5.0 Enterprise Edition (2003) AppleScript: Tell application:app location? (1998) Questions To Answer (1997)