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 / lak

n=Inputbox("Enter Number Series to reverse")

for i=1 to len(n)
x=n mod 10
temp=temp&x
n=n/10
n=fix(n)
next

msgbox temp

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you convert a string to upper case string using vbscript?

931


Is vbscript a case-sensitive or case-insensitive?

1201


Which object provide information about a single runtime error in a vbscript?

1011


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1969


how to set one column as primary key in QTP and fetch values accordingly

2261


Explain the adodb.stream class?

930


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

1007


Why is it recommended to close the database connection every time after the work is completed?

874


1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.

1948


how to write validation function for date in vb script

2537


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

830


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

941


How to delete a cookie using vbscript?

1083


How will you get the octal value of the given number in vbscript?

911


Explain about the asc function?

973