Solved

Need help to format the number

Posted on 2013-06-11
6
399 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 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
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 50

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 50

Expert Comment

by:Gustav Brock
ID: 39238503
You are welcome!

/gustav
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

739 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