User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 401,523 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,376 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 2353 | Replies: 1 | Solved
Reply
Join Date: Jan 2008
Posts: 19
Reputation: dweaver6 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
dweaver6 dweaver6 is offline Offline
Newbie Poster

Question Convert Int to string classic asp

  #1  
Jan 29th, 2008
Can anyone tell me how to convert an int to a string value that I define?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2008
Posts: 135
Reputation: TobbeK is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 3
TobbeK TobbeK is offline Offline
Junior Poster

Re: Convert Int to string classic asp

  #2  
Feb 16th, 2008
Hi, you do something like this example

<%

' CInt Converts to Integer
' CStr Converts to String
' TypeName Returns subtype variable for your control

a = Cint(1)
b = Cstr(1)

Response.Write(TypeName(a)) & "<br>"
Response.Write(TypeName(b))

%>
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the ASP Forum

All times are GMT -4. The time now is 2:58 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC