I am writing my first program using VB 2005 Express. Using text toxes in a Form I have created a place where a user can input data that will be manipulated. I have used a Text Box in the form that displays the output data. In this case it is a number.
When I defined the variable that is displayed in the output text box I tried Double and got an error message. I found that I can only define as Integer for the code to be accepted. While the program does run I need to have more accuracy, at least to one decimal, in that text box.
An associate who uses VB 6 showed me that he can define the type of number and how many decimal places for the text box, but I'm not finding any way to do that in VB 2005.
Is there a better solution than using the text box to output data, or is there a way to accomplish this with the text box??