tag:blogger.com,1999:blog-6139068054528692587.post7755014042738069310..comments2023-08-01T17:26:27.413+05:30Comments on QTP Scripts and Selenium Webdriver Scripts: VBScript String Functions(2)F n Khttp://www.blogger.com/profile/05610206689452577513noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6139068054528692587.post-24385730548759701492012-07-27T10:50:29.940+05:302012-07-27T10:50:29.940+05:30hi,
this is gracy. i have a doubt in working w...hi,<br /><br /> this is gracy. i have a doubt in working with round function of qtp. when it is used for 2 decimal places of the values 16.955, 17.955, 18.955, 19.955. It should give the result as 16.96, 17.96, 18.96, 19.96 but it is giving the result as 16.95, 17.95, 18.95 and 19.95. could you give me any solution for this. or the reason why it is taking like this?<br /><br />thanks,<br />gracyAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6139068054528692587.post-58431243432876316702008-10-16T20:04:00.000+05:302008-10-16T20:04:00.000+05:30QTP VBScript - Are you sure 1+1=2?n1 = InputBox(&q...QTP VBScript - Are you sure 1+1=2?<BR/><BR/>n1 = InputBox("Enter first number")<BR/>n2 = InputBox("Enter second number")<BR/>n1increased = n1 + 1<BR/><BR/>If n1increased = n2 Then<BR/> MsgBox n1 & " + 1 equals " & n2<BR/>Else<BR/> MsgBox n1 & " + 1 doesn't equal " & n2<BR/>End IfSyam..https://www.blogger.com/profile/04243462501842288555noreply@blogger.com