Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642

Answer Posted / kiran

dim number
number = inputbox("enter any number")
strlen = len(number)
for i = 1 to strlen
revnumber = mid(number,i,1) + revnumber
next
msgbox revnumber

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

did any one attended interview in applabs if you had gone through plz tell me the procedure

2275


What's the difference between vbscript and vb.net?

1110


How to Enter Values on the Command promt using VB script

2063


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

1303


How can you fetch the value of a cookie?

1011


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

2138


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2373


Explain about arrays in vb script?

1063


How will you reverse a string in vbscript?

1164


How will you get the natural logarithm of the given number in vbscript?

1050


How will you compare two strings in vbscript?

1075


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2093


Which event is triggered when mouse focus comes out of an element in the vbscript language?

959


How will you get a random number between 0 and 1 in vbscript?

1326


How can you destroy an object in vbscript?

1117