I am doing a calculation on a report which needs rounding.
I am using the ROUND verb but it takes .5 and rounds down.
I looked up and saw 2 verbs besides ROUND which are ROUNDUP and ROUNDDOWN. I figured ROUNDUP would work. I then get the #name? after it. This is what HELP has to say:
ROUNDUP
Rounds a number up, away from 0 (zero).
If this function returns the #NAME? error value, you may need to install msowcf.dll.
Does this need to be installed or am I missing something with the rounding rules? I couldn't find anywhere where it states the rules for rounding. Math 101 always said to round up for 5 or better.
Also, when coding under the control source, is that considered VBA or something else? When you code an EVENT it is done using VBA, not sure what it is called under CONTROL SOURCE coding.
Thanks,
I am using the ROUND verb but it takes .5 and rounds down.
I looked up and saw 2 verbs besides ROUND which are ROUNDUP and ROUNDDOWN. I figured ROUNDUP would work. I then get the #name? after it. This is what HELP has to say:
ROUNDUP
Rounds a number up, away from 0 (zero).
If this function returns the #NAME? error value, you may need to install msowcf.dll.
Does this need to be installed or am I missing something with the rounding rules? I couldn't find anywhere where it states the rules for rounding. Math 101 always said to round up for 5 or better.
Also, when coding under the control source, is that considered VBA or something else? When you code an EVENT it is done using VBA, not sure what it is called under CONTROL SOURCE coding.
Thanks,