Could Anybody tell me the Script for REVERSE an Interger
int reverse(int num) Ex:246 to 642.. Thanks in Advance.
Answers were Sorted based on User's Feedback
x=246
y=len(x)
For i=y to 1 step-1
c=mid(x,i,1)
d=d&c
Next
msgbox d
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vineet sharma
convert int to string first using cstr() function. then use strreverse() function to reverse the string and then use cint to conver back the string to integer.
| Is This Answer Correct ? | 0 Yes | 0 No |
write a vb script to display factorial of a number using function
what is the standards used for writing the script in QTP
What is the use of the formatdatetime function in the vbscript language?
What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.
How will you get a random number between 0 and 1 in vbscript?
write a vb script to find simple interest using functions
How will you format a number in percetage format in vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me
plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this
how to set one column as primary key in QTP and fetch values accordingly