I have this situation: My robot has to do a math formula pretty easy and to return a number with 2 decimals and I tried everything I could find. This is how it looks so far.
The formula is 100-((count3*100)\Prio3) and it should return a number like this xx.xx . The vars count and Prio3 are integers, and they will always be integers.
The output is a double variable at the moment and the message will be rounded up.
I tried changing the procent3 var into decimal and the same result.
I don’t need to Round up the result. I need it as it is but within 2 decimals.
P.S.: The vars count and Prio3 are obtain after the robot searches within an excel sheet how many rows fulfils a condition.