Re: Question re: Format command

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34778
interpreted = N
texte = You could multiply it by 100 to get the actual percentage.Thanks, JohnChristopher Feyrer wrote: > > 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/-- John S. Winningham Genesis Internet Solutions Online Commerce Designer eCommerce Solutions for Business john@genesis-internet.com Let us put the Web to Work for You ------------------------------------------------------------- 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)
You could multiply it by 100 to get the actual percentage.Thanks, JohnChristopher Feyrer wrote: > > 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/-- John S. Winningham Genesis Internet Solutions Online Commerce Designer eCommerce Solutions for Business john@genesis-internet.com Let us put the Web to Work for You ------------------------------------------------------------- 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/ John Winningham

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:

[OT] Airport Network (2003) Merging databases (1997) problem with [Format Days_To_Date] (2000) RE: File Uploads (1998) form data submission gets truncated (1997) RE: Discounting prices across a site (1997) NT Woes (1997) SetLineItem (1997) using showpage and showcart commands (1996) Searchtitle (2000) Ok here is a question? (1997) WebCat with WebTen (1998) Memory Error message (1998) [GROUPS] followup (1997) WebCat2 - Getting to the browser's username/password data (1997) Jimmy Houssen (1998) Country & Ship-to address & other fields ? (1997) Auto-email upon restart? (2001) This list needs a digest: rant, rave... (1997) [Announce] Newest Commerce Site based on WebCatalog (1997)