Re: How to add commas to number displays
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59369
interpreted = N
texte = Thank you both... I figured there was something native but I hadn't started looking too deeply yet. Thanks again.-DanOn Tue, 14 Sep 2004 16:10:06 -0500 Gary Krockover
wrote:>Nah, just:>>Price: $[Format thousands .2f]2865316.11[/format]>>Gary>>At 04:09 PM 9/14/2004, you wrote:>>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 >>starting from the end (the decimal) or something along those lines? Anybody got a more efficient >>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:
Thank you both... I figured there was something native but I hadn't started looking too deeply yet. Thanks again.-DanOn Tue, 14 Sep 2004 16:10:06 -0500 Gary Krockover wrote:>Nah, just:>>Price: $[Format thousands .2f]2865316.11[/format]>>Gary>>At 04:09 PM 9/14/2004, you wrote:>>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 >>starting from the end (the decimal) or something along those lines? Anybody got a more efficient >>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/
"Dan Strong"
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:
WebCat2b15MacPlugin - [protect] (1997)
Error:Too many nested [xxx] contexts (1997)
Sorry But This seems to be my fate (2000)
Stinkin' [Referrer] (1998)
PSC recommends what date format yr 2000??? (1997)
WebCat2 several catalogs? (1997)
Do not truncate a whole word (2004)
Calculating multiple shipping... (1997)
Redirect (2003)
Re:no [search] with NT (1997)
Newbie problem blah blah blah (1997)
Looking up two prices in Formulas.db (1997)
WebCatalog Hosting (1996)
Variables for chat (1997)
ShowIf variables (1997)
Searching Multiple DBs (1997)
2 easy questions re: [showif] and [sendmail] (1997)
[replaceChars] would be nice ... (1997)
PCS Frames (1997)
Bug Report, maybe (1997)