Re: Question re: Format command

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34779
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? [math]0.57 * 100[/math]% Will that work? -- Sam LewisSamLewis.com Tel: 626-852-0956 Fax: 916-404-5698------------------------------------------------------------- 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? [math]0.57 * 100[/math]% Will that work? -- Sam LewisSamLewis.com Tel: 626-852-0956 Fax: 916-404-5698------------------------------------------------------------- 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/ Sam Lewis

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:

Multi-Row Tables from a search. (1997) [WebDNA] German e-shop company proclaims "In Memory Computing" (2010) JavaScript (1998) Where's Cart Created ? (1997) For those of you not on the WebCatalog Beta... (1997) problems with 2 tags (1997) email stoped (2003) Exists? (1997) New Plug-in and Type 11 errors (1997) Plugin or CGI or both (1997) Creating folders and deleting files (1997) WebCat2_Mac RETURNs in .db (1997) emailer (1997) Problems with [Search] param - Mac Plugin b15 (1997) [WebDNA] TLS 1.2 and [tcpconnect] URGENT (2018) [purchase] (1999) Running _every_ page through WebCat ? (1997) Can't load tmpl files (1997) [ConvertChars] problem (1997) Altavista has got virus infection! (1998)