Computer Science Canada

Convert int to string.

Author:  Justin_ [ Wed Jan 18, 2006 11:14 am ]
Post subject:  Convert int to string.

Another question. How do I convert an integer variable to a string so that I can concatenate it onto a string and display it as a label.

Author:  pavol [ Wed Jan 18, 2006 11:20 am ]
Post subject: 

im not sure but can't you just do something like:
code:
dim a as string
dim b as integer

a = b

as in you just assign the integer value to a string variable. or would that produce an error
just a thought

Author:  Justin_ [ Wed Jan 18, 2006 11:28 am ]
Post subject: 

Only in VB...

For some strange reason that worked. Cool, thanks.

Author:  abcdefgh09876543212345678 [ Sun Mar 05, 2006 5:02 pm ]
Post subject: 

i thik the proper way is
a=str(b)
but what ever works


: