SAP automation, clicking double values that has comma

Hi, still very new to UiPath SAP automation. Any help or advice would be great as I’m outta ideas.
The value I have for the variable is 5876.86
I’m trying to click the following text in the image 5,876.86 by using click but it doesn’t work due to the comma.
As the value I want click might not appear on the first row, I am unable to use fixed element.
I have tried to change the SAP settings (System-User Profile-Own Data-Defaults-Decimal Notation) but couldn’t find a way.

you can convert your variable value with comas,

variable.toString("###,###,###,###.00")

hope this might help you

Thanks it works! I’m abit curious why is it .00 though.

Consider variable value is 256

variable.toString("###,###.##")

will return 256 only

variable.toString("###,###.00")

will return 256.00

variable.toString("000,000.00")

will return 000,256.00

you can find more in below links
docs.microsoft.com
msdn.microsoft.com