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 |
Explain about scrrun.dll in vbscript?
How to access array data?
Please Example programms on vbscript 1)writing functions and calling functions
write a vb script to create a folder?
How will you get the natural logarithm of the given number in vbscript?
Mention what is the use of option explicit in vbscript?
How can I write HTML text to the window in VB Script?
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)
Which in-built function is used to format the number in the vbscript language?
Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.
How will you format a number in percetage format in vbscript?