Gimpster
Jan 27th, 2000, 07:52 AM
In the MSDN files, it says that you can convert a string to an integer if the string is in an integer format. Here is what it says you can do:
strprice = "100.00"
intprice = strprice
This code works, but I need something different. What I need to do is something more like this:
For i = 0 to 5
strprice = MSHFlexgrid.TextMatrix(i, 4)
intprice = strprice
Next i
However, when I do that, it gives me an error because the datatypes are different. What can I do to fix this problem?
------------------
Ryan
strprice = "100.00"
intprice = strprice
This code works, but I need something different. What I need to do is something more like this:
For i = 0 to 5
strprice = MSHFlexgrid.TextMatrix(i, 4)
intprice = strprice
Next i
However, when I do that, it gives me an error because the datatypes are different. What can I do to fix this problem?
------------------
Ryan