Round function

G

Grodon

I'm having a problem with the Round function: I created
the following function which returns a single data type:

Dim sngLOS as single
Dim lngLOS as long

lngLOS = DateDiff("n", dteTime1, pdteTime2)

sngLOS = (lngLOS / 60)
udfLOS_Hrs = Round(sngLOS, 1)

When I use this function in a query, it give a result that
looks like this: 8.10000038147

If I don't use the Round function, I get the following
value: 8.13333320618

Why doesn't the Round function round this to one column
after the decimal, like it says in the HELP?

-Grodon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top