How to covert a String to an integer?

Answer Posted / venkateshwarlu

using cint function

dim var1, var2
var1=10.89
var2=cint(var1)
msgbox var2

will give integer value : 10

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1510


Explain step generator in qtp?

655


what difference between runtime object and text object and what property they have. whether they have same properties or different properties.

1712


Where can I find and view run-time data table?

535


What is the short cut keys for the following?

650






How many types of parameters are available in quicktest professional?

532


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1368


What is the default add-ins in qtp?

564


Explain types of descriptive programming?

597


In Remote acess server how u run a test?

1298


What is clean sweep?

1387


Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation

1592


What are the key elements available in test result window?

634


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1625


Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay

2675