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:

Extended [ConvertChars] (1997) sorry (1997) WebCat mappings.. (2000) Count how many items in a summ total (2003) Include a big block of text (1997) Problems appending to database (1997) Searchable WebCat (etc.) Docs ? (1997) Just made store and move file from webcatalog......... (2000) RE: Displaying Location (1997) Only charge card when product shipped ? (1997) Location of Browser Info.txt file (1997) Include Not Including (2000) Getting Total Quantity (1997) Saving Text Areas with Orders (1997) [WebDNA] WebDNA version 7 feature list? (2011) WebCat Versions (2003) Re[2]: 2nd WebCatalog2 Feature Request (1996) HTML Editors (1997) Micro-managing External Links (2006) Initiating NewCart (1997)