bushwacka666
New member
- Local time
- Today, 14:43
- Joined
- Jan 29, 2025
- Messages
- 4
Hello all,
I am currently trying to grapple with the Round function in Access. I should start by saying that I know Access uses "banker's rounding" and this is actually what I want it to do, however I am finding that even this doesn't appear to be functioning as I want it to.
For example, let's take the figure 1.915 which I want to show to two decimal places. According to banker's rounding, this should therefore bring the figure to 1.92.
Indeed, if I were to refer to the figure directly, using Round(1.915,2) then 1.92 is exactly what I get. Great!
However, say I have a field in a query or report called TOTAL that is running a calculation based on values found in other fields, and now 1.915 is the result it provides here. In this instance, using Round([TOTAL],2) now gives me 1.91, not 1.92.
So is there any way I can make Access correctly use banker's rounding on a figure that was calculated from an expression? It seems like it always wants to round down, regardless of what the figure is.
I am currently trying to grapple with the Round function in Access. I should start by saying that I know Access uses "banker's rounding" and this is actually what I want it to do, however I am finding that even this doesn't appear to be functioning as I want it to.
For example, let's take the figure 1.915 which I want to show to two decimal places. According to banker's rounding, this should therefore bring the figure to 1.92.
Indeed, if I were to refer to the figure directly, using Round(1.915,2) then 1.92 is exactly what I get. Great!
However, say I have a field in a query or report called TOTAL that is running a calculation based on values found in other fields, and now 1.915 is the result it provides here. In this instance, using Round([TOTAL],2) now gives me 1.91, not 1.92.
So is there any way I can make Access correctly use banker's rounding on a figure that was calculated from an expression? It seems like it always wants to round down, regardless of what the figure is.