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

What are the advantages of parameterization ?

834


what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?

2984


Hi,All How to create a link in excel sheet using qtp

3228


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1664


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

817


Write a script to customize the test results in PDF and HTML format.

2350


Key word driven framework

1935


hi nani my doubt is how does qtp process metrix related to software process.

1774


ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS

1748


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

1793


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1788


How to use Environment parameterization? Explain with an example.

1748


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

816


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1870


What is the limitation to XML Checkpoints?

1852