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
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