Double.TryParse is always returning 0 in the output variable


I am currently working on the framework demo application and I am facing the below issue.
Double.TryParse(CashIn, dbl_CashIn) provides me the correct output i.e. true/ false but it does not update the dbl_CashIn variable and always return 0. I don’t know why byref is not working.


The out parameter can not be specified in the assign activity.
In this case we will use the Invoke method.


I did the above because it was passing the if condition i.e. all the values are double but as the dbl_CashIn was always 0 the second condition was always true i.e. less then 100


hi, ashish
In the assign activity, the value of dbl_CashIn variable is not set in the TryParse method,
so the initial value of 0.0 is applied.
Therefore, it seems that the second condition is always determined to be true.


Hi Kawata,

I have added a new sequence activity to convert the value to double using invoke method as you suggested and now its working.
I think this step should be added to the framework walkthrough pdf document.
Another issue which I found out is that application which was provide by uipath does not allow decimal i.e. dot to be inserted inside the textboxes and due to which incorrect values are getting inserted.
Thank you for you earlier reply.