Re: How to add commas to number displays

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59367
interpreted = N
texte = [Format thousands 14.2f]2865316.11[/Format] Will be 2,865,316.11=20 -Tim -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Dan Strong Sent: Tuesday, September 14, 2004 2:09 PM To: WebDNA Talk Subject: How to add commas to number displays Ok, so the data is coming from the .db as 2865316.11, and I need to = display it as $2,865,316.11 Do I disassemble the data with [countchars], then recompile and add = commas after every 3 places=20 starting from the end (the decimal) or something along those lines? = Anybody got a more efficient=20 way? My brain hurts today. Thanks in advance. -Dan ------------------------------------------------------------- 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://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: How to add commas to number displays ( "Dan Strong" 2004)
  2. Re: How to add commas to number displays ( Gary Krockover 2004)
  3. Re: How to add commas to number displays ( "Timothy Taylor" 2004)
  4. How to add commas to number displays ( "Dan Strong" 2004)
[Format thousands 14.2f]2865316.11[/Format] Will be 2,865,316.11=20 -Tim -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Dan Strong Sent: Tuesday, September 14, 2004 2:09 PM To: WebDNA Talk Subject: How to add commas to number displays Ok, so the data is coming from the .db as 2865316.11, and I need to = display it as $2,865,316.11 Do I disassemble the data with [countchars], then recompile and add = commas after every 3 places=20 starting from the end (the decimal) or something along those lines? = Anybody got a more efficient=20 way? My brain hurts today. Thanks in advance. -Dan ------------------------------------------------------------- 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://webdna.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://webdna.smithmicro.com/ "Timothy Taylor"

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:

Logout? (1998) [WebDNA] MD5 Hash issue (2009) [createfolder] & [deletefolder] (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Secure Server (1997) Sorting error (1997) RE: Shopping Cart Questions (1998) Mult-File Upload w/ Web Star (2000) serial number dishing (1997) [addlineitem] (1999) [WebDNA] autoresponder email addresses (2012) SSL do I need it?? (1998) japanese characters (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Sort Order on a page search (1997) f2 download problems (1997) RE:It just Does't add up!!! (1997) Sku numbers (1997) WebCat2: Items xx to xx shown, etc. (1997) Uh...can someone help me out with the b10? (1997)