Rounding
The number of decimal places is set.
Command format:
SETCFG("ROUNDINGPRECISION", 2);
Here 2 - digits afte comma. May be from 0 to 5/
Example.
To make the calculator adjust to the rounding in the project.
int numdigit = 2;// by default
int iret = ac_request("project_property", "get", "CalcUnitsAreaDecimals");
if (iret == 0) {
numdigit = ac_getnumvalue();
}
SETCFG("ROUNDINGPRECISION",numdigit); // точность округления (0...5)