Wednesday, February 2, 2011

Convert a Number Variable into a String

Blog post: blog how to convert a number variable into a string
 Dim intNumbers as Integer

 Dim strNumber as String
  
 intNumbers= "24"
  
 strNumber = CStr(intNumbers)
  

1 comment:

  1. Egad! The code doesn't work. You need to set the CStr(intNumbers) to a variable like:
    Dim strNum as String = CStr(indNumbers)

    ReplyDelete