Solved

Help formatting a Money value.

Posted on 2015-02-04
2
89 Views
Last Modified: 2015-02-04
I have a money data type I'm reading from a table.   I want to format to string, using two decimal places.  I do not want the trailing zero dropped.  And I want a comma every three places.   Add optionally add the $.

For example:   $3,120,456.50
0
Comment
Question by:HLRosenberger
2 Comments
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 40589730
You can use the FormatCurrency function.
0
 
LVL 1

Author Closing Comment

by:HLRosenberger
ID: 40589742
Thanks!  that works great; I was previously not aware of it.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 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