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

How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1622


when to start the automation?

1677


Is it possible to merge two object repository files in qtp?

834


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1506


write a script to verify the image path(src property) of the images which are in web pages.

1984


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1565


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

830


How smart identification works in qtp ?

773


Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution

1886


Explain in brief about the quicktest professional automation object model?

732


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

1865


How to add verification steps to tests?

9440


What are the 3 main stages involved in testing with qtp?

821


how to test use the quality control .how to verify the image verification

2816


How software tester can use constants and variables in scripts?

1931