?
Solved

MS Access - Return a specific number of decimal places

Posted on 2015-01-19
2
Medium Priority
?
143 Views
Last Modified: 2015-01-19
I'm doing some match on two field and would like to return X decimal places.

Right now I'm getting values like  

.71 / 481,534.86   = 1.4744519223385E-06

What I want to return is .0000015

Ideas?
0
Comment
Question by:keschuster
[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 Comments
 
LVL 53

Accepted Solution

by:
Rgonzo1971 earned 2000 total points
ID: 40557773
Hi,

do you mean

Expr1: Round(0.71/481534.86;7)

Regards
0
 
LVL 34

Expert Comment

by:Mike Eghtebas
ID: 40557787
Dim numVal As Double
numVal  = .71 / 481,534.86
MsgBox Format(numVal ,"0.0000000")  ' for 0.0000015
'MsgBox Format(numVal ,"#.0000000")  ' for .0000015
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

649 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