Hello,
I have a form that calculates a tax rate. I need the final number to be fixed to 2 decimals exactly.
I have a textbox called txtTaxCalc, which is set as currency to 2 decimals.
In txtTaxCalc control source i have the following: = 90.9/100*5
This will give an answer of £4.545 (initially it will display £4.54, but when I click into it the number expands to £4.545.
The correct answer for my onward calculation should be £4.55.
I have then tried = Round(90.9/100*5,2) but this gives and answer of £4.54
I'm a bit stuck - please could someone help me to get to the correct answer - i.e. £4.55 without any further decimals.
Many thanks Mark
I have a form that calculates a tax rate. I need the final number to be fixed to 2 decimals exactly.
I have a textbox called txtTaxCalc, which is set as currency to 2 decimals.
In txtTaxCalc control source i have the following: = 90.9/100*5
This will give an answer of £4.545 (initially it will display £4.54, but when I click into it the number expands to £4.545.
The correct answer for my onward calculation should be £4.55.
I have then tried = Round(90.9/100*5,2) but this gives and answer of £4.54
I'm a bit stuck - please could someone help me to get to the correct answer - i.e. £4.55 without any further decimals.
Many thanks Mark