Posted on 2014-04-07
I have some input boxes on the screen to allow the user to type in the numbers. I aslo have an input box to store the Total of all numbers above. The input box for the Total cannot be changed and I want to display it as $12,345.67. I use FormatCurrency(txtTotal,2) and the total show up as I want. But then when I change one of the input numbers, the calculation is not correct. When I remove FormatCurrency(), it works again. Is there a way to make the calculation and display work at the same time?