Solved

How to keep commas in a NumberFormat Function

Posted on 2010-09-12
3
369 Views
Last Modified: 2013-12-24
I previously asked a question regarding Number Formating with Coldfusion. How would you maintain commas in coldfusions NumberFormat function. Example $200,000.23 NumberFormat("200000.23","$")
0
Comment
Question by:jasch2244
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
cconstable_work earned 500 total points
ID: 33659446
Set the mask to "$___,___.__" instead of just $?
0
 
LVL 3

Expert Comment

by:cconstable_work
ID: 33659456
Just to add to that basically you want to use the "," character in the mask. you could also use "$," as the mask for any length number and it will just add a "," character every 3 digits.
0
 
LVL 1

Author Closing Comment

by:jasch2244
ID: 33659488
That's a beautiful thing! Thank you :)
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question