Micro Focus QTP (UFT) Forums
Need a help in a Script - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Need a help in a Script (/Thread-Need-a-help-in-a-Script)



Need a help in a Script - ortho - 09-01-2014

Please some one run the Script and tell me why its not working and how to do it its already set everything just run the script i attached the script Sad


RE: Need a help in a Script - Ankesh - 09-01-2014

The code is fine..You need to do typecasting before using the if block.

You can take reference of below

Code:
RoProDesc=FormatCurrency(RoProDesc,0)
msgbox RoProDesc



RE: Need a help in a Script - ortho - 09-02-2014

thanks man i forgot that one Smile thanks for help