I have a parameter from another datatable that I have aliased as Expected_Policy_Total, can I use format number to change $7,318 to 7318.00.
Patience is like bread I say.... I ran out of that yesterday.
use the following code if it helps
A = "$7,318"
B = Replace(A,"$","")
Are you reteieving the value as $7,318 and finally later want to use it as 7318.00 during runtime.
Is my understanding correct?
I doubt it works directly but I have never explored it. I would suggest you look into CCur for this
Buy the NEW QTP Descriptive Programming Unplugged Book
** Download QTP Unplugged 2nd Edition eBook for FREE **
below works for me
strv = "$123"
-- Here to Learn and share ---
Use the below :
This will display 7318.00
Msgbox FormatNumber("$7,318 ",2,,,0)