Hello All,
We have observed an unusual behavior of the TRUNC function in DeltaV 13.3.1 Build 6290. The function is rounding the value to the lower digit. As shown in example, LOG2(2,8192) = 13 when applied with TRUNC gets rounded to 12.
Has anyone noticed this?
Please let me know in case any analysis has been done.
Thank you.
Regards,
Purnendu Saptarshi
Automation Engineer
m:
+1-414-520-5740
e:
purnendu.saptarshi@skellig.com
Automation Engineer | Skellig Automation US LLC | Greater Boston Area, MA
Hello
The Trunc function do not round anything.
It only take the value before the decimal delimiter.
If your number is 12.9, it returns 12
See then Round function if you want to see 13 for values between 12.5 and 13.499
In reply to SBPosey: