To convert a number to a string, simply use the function str().
So if you have a variable called intZipCode and you want to convert it from an integer to a string and store it as strZipCode, the command is as follows:
strZipCode = str(intZipCode)
Showing posts with label Convert Integer to String. Show all posts
Showing posts with label Convert Integer to String. Show all posts
Friday, January 18, 2008
Subscribe to:
Posts (Atom)