Advertisement

08.19.2007 at 05:31AM PDT, ID: 22772510
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

Round off and Decimal places

Asked by billcute in Microsoft Access Database, Access Forms, Microsoft Development

Tags: , , ,

Users currently use the following code to compare two values ....

Private Sub txt_B_Exit(Cancel As Integer)
  Dim myLimit, myValue, myTol
  myLimit = 10
  myTol = 0.00005
  If Nz(Me.txt_B) < myLimit Then
    MsgBox "Sqarefeetvalues below " & myLimit & " are not possible in this context!", vbExclamation
    Cancel = True
  Else
    'Calculate formula
    myValue = (.............)
    myValue = Round(myValue, 5)

    ' Compare result with tolerance                                              '<<----- Critcal point
    If Abs(myValue - Me.txt_A.Value) > myTol Then
      MsgBox "The calculatd Value is " & myValue, vbCritical
      Me.txt_A.SetFocus
    Else
      Me.Verified = True
      Me.txt_C.SetFocus
    End If
  End If
End Sub
******************************
Our office usually round off to 5 decimal places all the time during data entry but adhere to the 3 decimal places when compiling a report. Most of the Engineers / Architects who request for permits from us usually round off to 3 decimal places when submiting their value of their new project "Flow" for us to validate.

Assuming that an Engineer submitted a flow of 0.006 but the auto calculated value
came out to be 0.00561.
In actual sense, the value of 0.006 submitted by the Engineer is correct if 0.00561 was
rounded off to 3 decimal places.
 
Using tolerance of value > 0.00005 through 0.00099 did not resolve the 3 decimal places
and as a result, the autocalculated value of 0.000561 did not accept the 0.00600 as correct or equals to 0.00561.
 QUESTION?
In this scenerio, in what way can I adjust the tolerance value to recond the following:
if the autocalculated value is 0.00561 then
 
(a). Accept the rounding off to 0.00600
(b) Deny rounding off to 0.00610
(c).Deny rounding off to 0.00500
(d). Accept rounding to 0.00560
(f). Deny rounding to 0.00562 since it was greater than the original    
     calculated value of 0.00561
 
Well, I am not too sure if the above is achievable, I was only pondering on it.Start Free Trial
[+][-]08.19.2007 at 08:38AM PDT, ID: 19726044

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 10:11AM PDT, ID: 19726333

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 11:57AM PDT, ID: 19726562

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 12:01PM PDT, ID: 19726573

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 03:43PM PDT, ID: 19727212

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 06:06PM PDT, ID: 19727636

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.21.2007 at 12:59AM PDT, ID: 19736072

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, Access Forms, Microsoft Development
Tags: decimal, off, round, places
Sign Up Now!
Solution Provided By: bonjour-aut
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.21.2007 at 04:34AM PDT, ID: 19736793

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628