|
-
July 16th, 1999, 09:59 AM
#1
format text(string) to double
hi, i'm new with VB and i'd like to know how to format a string into a double or an int.
Right now i'm using a grid control and I have matriceDialog.gridMatrice.Text of a certain row and column and I want to place it in an array of doubles.
MyArray(i,j) as double
when I do MyArray(i,j) = matriceDialog.gridMatrice.Text, it' says type mismatch(which I understand)
tank you
-
July 16th, 1999, 10:01 AM
#2
Re: format text(string) to double
MyArray(i,j) = CDbl(matriceDialog.gridMatrice.Text)
-
July 16th, 1999, 10:59 AM
#3
Re: format text(string) to double
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|