??? Not sure
I did set up this test in vba
Code:
Sub testDec()
Dim x(3) As Double
x(0) = 17
x(1) = 23
x(2) = (x(0) / x(1))
Debug.Print x(2)
x(3) = Round(x(2) * 100, 3)
Debug.Print x(3)
Debug.Print Format(x(2), "**.000%")
End Sub
Result:
0.739130434782609
73.913
73.913%
So the numbers work, it's now a question of the Table field definitions and attributes.
I then built my own Table
see jpg
and ran a query
UPDATE Table1 SET Table1.answer = [first]/[second];
Then looked at the values
id |
first |
second |
answer |
1 |
17 |
23 |
73.91% |
I think you should try Double rather than Decimal based on my test.
Also, I think if you use PERCENT format it is limited to 2 decimal places??? my guess