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:
[WebDNA] Passing a text variable via copyfile (2019)
Formulas.db (2001)
Authorize.Net down 2 days in row (2004)
Running 2 two WebCatalog.acgi's (1996)
Searching Numbers (2004)
Header info in content (1998)
I'm new be kind (1997)
Creating a back button (1999)
[WebDNA] Help with iTools 9/WebDNA setup MacTel (2009)
How can I Add several Items into the cart at once? (1997)
no [search] with NT (1997)
WAP (2000)
problems with 2 tags (1997)
many-to-one problem (1998)
cookies and DNS (2000)
Help needed! (1998)
emailer (1997)
searching with groups (1997)
setting cookies for another domain? (2002)
truncating email part II (1997)