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:

File dates in WebCatalog .tmpl/.inc (1997) File Upload (1997) IIS4/WebCat3.0 Authentication (1999) PCS Frames-Default page is solution! (1997) Almost a there but..bye bye NetCloak (1997) Execute Applescript (1997) Separate SSL Server (1997) webcat NT (1998) [WebDNA] php/mySQL version of WebDNA Speed Test? (2009) problems with WebCat-Plugin (1997) [WebDNA] [hideif]'s not working in [sendmail] (2008) WebCatalog2 Feature Feedback (1996) SKU lookup (1997) Some Questions (1997) [WebDNA] grep code (2009) Pithy questions on webcommerce & siteedit (1997) Re1000001: Setting up shop (1997) Can't add a field (1998) form crasehes server (1997) F2 to F3 rocky transition (1997)