Re: [Format thousands .2f] and negative values

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38639
interpreted = N
texte = thanks I did something similar [showif [amount]<0]-[/showif] [Format thousands .2f][amount][/format]Art ----- Original Message ----- From: Anup Setty To: WebCatalog Talk Sent: Monday, September 17, 2001 1:12 PM Subject: Re: [Format thousands .2f] and negative values http://www.vertbeta.com/test/anup/test.htmlcheck this page, this may be the answer for your question...hth anup setty ----- Original Message ----- From: Arturo Vargas To: WebCatalog Talk Sent: Monday, September 17, 2001 4:15 PM Subject: [Format thousands .2f] and negative values > I need to display a number with commas and decimals > 1000 =1,000.00 > so I used [Format thousands .2f] it works > however if the number is negative > -1000=1,000.00 > the number is converted to positive. > I need the number to be shown as a negative number > -1,000.00 > > any solutions to this? > > Art > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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: [Format thousands .2f] and negative values (Arturo Vargas 2001)
  2. [Format thousands .2f] and negative values (Arturo Vargas 2001)
  3. Re: [Format thousands .2f] and negative values (Anup Setty 2001)
thanks I did something similar [showif [amount]<0]-[/showif] [Format thousands .2f][amount][/format]Art ----- Original Message ----- From: Anup Setty To: WebCatalog Talk Sent: Monday, September 17, 2001 1:12 PM Subject: Re: [Format thousands .2f] and negative values http://www.vertbeta.com/test/anup/test.htmlcheck this page, this may be the answer for your question...hth anup setty ----- Original Message ----- From: Arturo Vargas To: WebCatalog Talk Sent: Monday, September 17, 2001 4:15 PM Subject: [Format thousands .2f] and negative values > I need to display a number with commas and decimals > 1000 =1,000.00 > so I used [Format thousands .2f] it works > however if the number is negative > -1000=1,000.00 > the number is converted to positive. > I need the number to be shown as a negative number > -1,000.00 > > any solutions to this? > > Art > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ Arturo Vargas

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:

Append command(2) (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) set header in DB (no cart) (2003) Append again (1999) File Upload (2000) WebMerchant (1997) Possible Bug in 2.0b15.acgi (1997) RE: IIS 4 (1998) Payments -> Bank Accounts (2005) HomePage Caution (1997) Extracting URL (2007) docs for WebCatalog2 (1997) question: webmerchant connection (1997) Database Crash (2001) Calculate QTY (1998) RE: Problems reading files created by WC (1997) Modulo function? (2000) Lost Password? (2002) WebCat for Unix?? (1997) Capitalize special cases (2000)