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

Difference between action & Reusable action?

749


desribe a situation where u faced a stressful situation and how did u cope with it

1501


what is the diffrence bw qtp architectute and qtp framework?

1632


Which scripting language used by quicktest professional?

616


How to use actions in qtp ?

672






how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

1775


How you debug your script?

650


what type of automation is follwed in the project?

1581


how to know no.of mails in our g mail by using vb-script

1863


Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

1596


I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!

1509


why text area checkpoints cannot used for web applications

1979


What is the use of text output value in quicktest professional?

588


What are the types of data tables in qtp?

663


Can U Explain about QTP tool from older version to latest version also its differences?

1616