|
| |
|
|
chadb
Posts: 501 From: Kansas Status: offline
|
Combined Variable - 8/17/2009 11:57:58
How can I combine a variable the is numeric to a text? Example I have a varibe mynum which has a value of 4 and I want to add "hrs" to it. I have tried mynum = mynum + "hrs"
|
|
|
|
ou812
Posts: 1705 Joined: 1/5/2002 From: San Diego Status: offline
|
RE: Combined Variable - 8/17/2009 12:41:55
Not sure why you would want to do that, but if so you should be able to do this: mynum = mynum & " hrs" Or maybe you're looking to just display it with hours? response.write mynum & " hrs"
_____________________________
-brian Black Holes suck. EnterpriseDB: Enterprise-class relational database management system PostgreSQL: The world's most advanced open source database
|
|
|
|
chadb
Posts: 501 From: Kansas Status: offline
|
RE: Combined Variable - 8/17/2009 13:05:37
What is the way to covert a numeric to text?
|
|
|
|
swoosh
Posts: 1535 Joined: 5/18/2002 From: Beaver Falls, PA Status: offline
|
RE: Combined Variable - 8/17/2009 13:13:31
quote:
What is the way to covert a numeric to text? CStr
_____________________________
Swoooosh Just Do It!
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|