Display decimal places of AFValue (DisplayDigits)

Discussion created by ernstamort on Jan 7, 2014
Latest reply on Jan 7, 2014 by rdavin



I want to display values of any point type in PI ProcessBook using AF.
So I extended the AFWrapper and this works fine.


I would like to display the values with the precision defined in "DisplayDigits". So I have two questions:


Do I have to round the values manually using Math.Round in C# or is there something built in the AF SDK?
If I want to check for digital states, do I need to reference the PI SDK  or is there an analog in the AF SDK?