How do I get the difference of two strings that contain numbers, for example
myDefinedVar = myVar1 - myVar2
showbox.bio/
is there a convert to number function. I believe when Ranorex variables are defined they are setup as strings. I did get an error stating cannot subtract strings with my UserCode.cs chnages.
Cannot take difference of Strings; looking for Conversion.
Cannot take difference of Strings; looking for Conversion.
Last edited by Kool on Wed Nov 11, 2020 11:34 am, edited 1 time in total.
Re: Cannot take difference of Strings; looking for Conversion.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Cannot take difference of Strings; looking for Conversion.
Hello,I need to obtain the difference of 2 strings which contain numbers. But an error occurs all the time with my UserCode.cs auto typer essay writer in custom setup changes.
Could you please share an example of what each of the values might be? Do the values represent (in your case) longs, integers, doubles?