Hi,
I want to calculate with two variable which I got from excel with " read cell value". It calculates well with the numbers but when it comes to numbers with decimals results are not correct.
How can I solve this?
Thanks in advence.
Hi,
I want to calculate with two variable which I got from excel with " read cell value". It calculates well with the numbers but when it comes to numbers with decimals results are not correct.
How can I solve this?
Thanks in advence.
You have not shared the output if you are getting error or just a wrong/unexpected value. I would guess that the problem with your excel that the decimal symbol being used is comma (,) as expected in european format. Try to read the values first as string, replace the comma with a period then convert it to double datatype before you do the calculation.
Hi @anil.candan
Instead of doing with numbers try to do with double or decimal
In your case, in What to write field in Write cell activity, try like this,
CDec(Hz_EUR)/CDec(Hz_EUR_Fiyat)
Hope it helps!!
Dear @mkankatala , Dear @avejr748,
Both solitions worked together
Thank you very much for your kind support.
Regards.
Thank you @anil.candan
If you find the solution, make my post mark as solution to close the loop.
Happy Automation!!