I am designing an order entry form for customers. I have a textbox for number of items, another textbox as item value and the third textbox as the total item cost. I did a DIM of number of items (amt1) as an Integer and the item value (cost1) and total cost (tcost1) as currency.
When I click on the Calculate button, I want the total costs to show 2 decimals but it keeps dropping trailing blanks, i.e. $2.50 shows as 2.5.
This field is calculated as amt1 * cost1. How can I get these fields (there are many of them) to show the true currency value of2 decimals? Have I defined them incorrectly in the DIM statements?
When I click on the Calculate button, I want the total costs to show 2 decimals but it keeps dropping trailing blanks, i.e. $2.50 shows as 2.5.
This field is calculated as amt1 * cost1. How can I get these fields (there are many of them) to show the true currency value of2 decimals? Have I defined them incorrectly in the DIM statements?