S
Shanan Worley
This is my first course in VB using the Visual Studio.NET
2003. Here is my question.
I have a text box that I want a user to enter a dollar
value in. I want to use the value in that box and this
is the line I have to type
intAmount = Val(txtInput.text)
This works, but if my user puts a "$" sign in that
command will return a value of 0. What can I do to get
that value and ignore the way the number is formatted
(the $)? My instructor is a C++ programmer and did not
know the answer.
2003. Here is my question.
I have a text box that I want a user to enter a dollar
value in. I want to use the value in that box and this
is the line I have to type
intAmount = Val(txtInput.text)
This works, but if my user puts a "$" sign in that
command will return a value of 0. What can I do to get
that value and ignore the way the number is formatted
(the $)? My instructor is a C++ programmer and did not
know the answer.