sdpsc
Technical User
- Feb 10, 2001
- 76
I have a table in Access with columns 'm' and 'j', and I need to run a query to put the average of those two columns in another columns. Here is what I tried:
update table set average =(m+j)/2;
This, however, completely cuts off the decimals, even though the 'average' column is set for 3 decimals. How do I get this to work correctly (or is there a better way to do this)? Thanks!
update table set average =(m+j)/2;
This, however, completely cuts off the decimals, even though the 'average' column is set for 3 decimals. How do I get this to work correctly (or is there a better way to do this)? Thanks!