[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to keep commas in a NumberFormat Function

Posted on 2010-09-12
3
Medium Priority
?
372 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

656 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