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 Script for REVERSE an Interger
int reverse(int num) Ex:246 to 642.. Thanks in Advance.

Answer Posted / vineet sharma

convert int to string first using cstr() function. then use strreverse() function to reverse the string and then use cint to conver back the string to integer.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of option explicit in vbscript?

988


Which operator can be used to do an xor operation in vbscript?

1250


What is purpose of scripting.filesystemobject class in vbscript?

1116


What is the use of the instr function?

1056


What are string functions in vbscript?

1165


Description.Create

2640


What if you do not specify anything when you call a procedure?

1125


How to open browser in vb script?

1235


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1368


Mention how to access array data?

987


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3459


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2987


How will you convert a given number to long in vbscript?

878


How can constants be declared in the vbscript language?

988


What are the 2 ways in which a variable can be declared in the vbscript language?

1062