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 OfDan StrongSent: Tuesday, September 14, 2004 2:09 PMTo: WebDNA TalkSubject: How to add commas to number displaysOk, so the data is coming from the .db as 2865316.11, and I need to =display it as $2,865,316.11Do I disassemble the data with [countchars], then recompile and add =commas after every 3 places=20starting from the end (the decimal) or something along those lines? =Anybody got a more efficient=20way? 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:
[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 OfDan StrongSent: Tuesday, September 14, 2004 2:09 PMTo: WebDNA TalkSubject: How to add commas to number displaysOk, so the data is coming from the .db as 2865316.11, and I need to =display it as $2,865,316.11Do I disassemble the data with [countchars], then recompile and add =commas after every 3 places=20starting from the end (the decimal) or something along those lines? =Anybody got a more efficient=20way? 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:
emailer (1997)
Using [showif] within [lineitems] (2000)
Great product and great job ! (1997)
[Announce]: Web server security and password protection (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Associative lookup style? (1997)
Progress !! WAS: Trouble with formula.db (1997)
CSS positioning!!! (2001)
&summ=T >> numfound (2002)
Summing fields (1997)
formulas.db ?? (1998)
Applescript in Webcatalog problem (1997)
netscape and missing url in error redirect (2001)
Extended [ConvertChars] (1997)
Separate SSL Server (1997)
Not really WebCat (1997)
Rams SuperBowl Champs (2000)
Newbie questions (1999)
Moment of Thanks (1997)
Grep question [parsing variables] problem (2003)