Re: Question re: Format command

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34780
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 Lewis > >SamLewis.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/Okay, that was sorta a no brainer. Thank you. :)Chris------------------------------------------------------------- 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 Lewis > >SamLewis.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/Okay, that was sorta a no brainer. Thank you. :)Chris------------------------------------------------------------- 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:

Webcat & SIMS (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Orderfile context problem (1998) [WebDNA] Mailing list failure !!! (2019) Line items in table cells (1997) Error Messges (1997) HELP WITH DATES (1997) WebCatalog for guestbook ? (1997) OT: Spam (2000) Authenticating users without dialog box (1997) [WebDNA] IIS 7.5 (2015) tcpconnect (1999) Ampersand (1997) [OT] Retrieve old DNS data? (2007) [WebDNA] WebDNA as cgi app (was WebSite Examples) (2008) Separate SSL Server (1997) japanese characters (1997) Multiple Replaces? (1997) Websited Development (1999) BBEdit and WebCatalog 2.0? (1997)