Using generic value to fix system double issue but it doesnt work

I need to know how can i get the number in a two merged cells in a excel file, i use read cell and write only one of two cells, after that i had an issue with system double than i fixed with generic value but now i have a new issue in the argument

Hi @Soudios

The Out_MarginExcel variable should also be in generic datatype. Change it in the variables panel.

Hope it helps!!

Generic values are dangerous, since you never really know what’s inside. Further ahead in your code this might cause confusion or type mismatch errors.

As soon as you’ve read the value using a read range, transform / cast / change it to actual double datatypes, and output those instead of genericValue types.

Don’t use Generic Value. It’s not going to fix any problems. It’s not a real datatype it’s a UiPath thing and shouldn’t ever be necessary.

Ideally, you should avoild using generic data type but however if your process demands it you need to change the “Out_MarginExcel” also to generic