?
Solved

Need help to format the number

Posted on 2013-06-11
6
Medium Priority
?
417 Views
Last Modified: 2013-06-11
I have pretty big numbers.

ReadDate      GrandUsage (in KWH)
5/1/2013      140620557.259401  
5/2/2013      148021735.4115

how to convert to fixed format?
0
Comment
Question by:rfedorov
[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
6 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 39238269
You'll have to give us an example of what you want the results to look like.
0
 

Author Comment

by:rfedorov
ID: 39238288
140620557.259401  
That is the problem. Since it looks like a really big number , I even do not know how it shoul d be:  may be like this???

140620557.259401  should be

140,620,557.26
0
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 400 total points
ID: 39238297
in the query design grid, right click on the column for GrandUsage

in the Field Property Sheet, select Fixed in the Format property


you can also set the field property in the design view of the table
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 51

Accepted Solution

by:
Gustav Brock earned 1600 total points
ID: 39238461
Use this format:

strBigNumber = Format(140620557.259401, "#,##0.00")

or use in the format property of the textbox:

  #,##0.00

/gustav
0
 

Author Comment

by:rfedorov
ID: 39238493
To cactus_data:
thank you very much, what i need!

To capricorn1:
I did it before and something happening to my precision and all my decimals just disappers...
0
 
LVL 51

Expert Comment

by:Gustav Brock
ID: 39238503
You are welcome!

/gustav
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

770 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