FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
08-27-2021 11:50 AM
Hello,
is it possile to use round in the visal IDE App?
If I try that I get a failure.
Where can I set the number of digits for rouding?
Solved! Go to Solution.
08-27-2021 01:16 PM
We will check this.
09-03-2021 10:01 AM
Hello,
do you already have a solution for the problem.
09-03-2021 10:39 AM - edited 09-03-2021 10:40 AM
I am sorry to say that this is bug that needs to fixed and put in new version of the IDE app.
If you want to have a fix number of decimal places (e.g. one) you could do a calculation:
float x = 10.2569;
x = ((int)(x*10)) / 10.0;