Sorry, for my simple question. [img]/images/graemlins/blush.gif[/img]
I use QTP9.2. I can't convert String type to single or double. How I can to convert types for executing following code:
A = "2.5"
B = "0.5"
St = A / B ?
Using of functions cSng and cDbl (e.g. C = CSng(A)) gives results: "Type mismatch: 'CSng'/'CDbl'".
Thanks Tarun. I have decided this problem.
FYI I had an error because functions for type converting CSng() and CDbl() (maybe others too) are depended from settings of "Decimal Symbol" from "Regional and Language Options" where I had ",". But I tried to convert number with Decimal Symbol as ".".