I have a decimal value in this format like 123456789.654.
I want to paste this value in my excel cell in this format (123,456,789.654).
I am able to paste the value in the excel by using String.format(“({0:N})”,(intexcel)) but it provide me value as 123,456,789.654 without parenthesis but in need parenthesis at the start and end of the no.
The Parenthesis sometimes indicates that the value is negative, it is also done by the Excel Cell formatting.
So Perhaps, Do you want to convert your value to negative and then Write to the Cell ?
Instead of doing this in UiPath, how about if you try having an Excel template and formatting the cells where these values go to, to the format that you desire and that way when you enter your value as is, Excel will convert it to the right format.