Solved

Need help to format the number

Posted on 2013-06-11
6
386 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
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 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 100 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 49

Accepted Solution

by:
Gustav Brock earned 400 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 49

Expert Comment

by:Gustav Brock
ID: 39238503
You are welcome!

/gustav
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now