Howdy,
Whats is the best way to handle number (currecy) storage?
Access stores Currency values with 4 digis precision.
So if you have 4 currency fields and you do a sum of
them using SQL, you will not neccessarily get the
expected result.
The way I see it, there's 2 ways:
1. Round the number to 2 decimal points before
sending it to the database. Would anyone advice against this?
2. Store the number as is, and round it before showing it
on a form or report. This solution sounds very inefficient
to me.
Any advice would be greatly appreciated.
Chris
Whats is the best way to handle number (currecy) storage?
Access stores Currency values with 4 digis precision.
So if you have 4 currency fields and you do a sum of
them using SQL, you will not neccessarily get the
expected result.
The way I see it, there's 2 ways:
1. Round the number to 2 decimal points before
sending it to the database. Would anyone advice against this?
2. Store the number as is, and round it before showing it
on a form or report. This solution sounds very inefficient
to me.
Any advice would be greatly appreciated.
Chris