AFDataReference.DisplayDigits Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The DisplayDigits property controls the format of numeric values on displays and in reports.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public virtual int? DisplayDigits { get; }
Public Overridable ReadOnly Property DisplayDigits As Integer? Get Dim instance As AFDataReference Dim value As Integer? value = instance.DisplayDigits
public: virtual property Nullable<int> DisplayDigits { Nullable<int> get (); }
abstract DisplayDigits : Nullable<int> with get override DisplayDigits : Nullable<int> with get
Property Value
Type: NullableInt32A zero or a positive number indicates the number of digits to display to the right of the decimal point. A negative number indicates the number of significant digits to display. In this case, the absolute value is the number of significant digits. A value indicates no value is configured.
The default value is . The data reference implementation can override the returned value. For example, the PI Point Data Reference will return the value configured for the point in the server.
Remarks
Client applications can use the value of this property to control the format of numeric values
on display and in reports. This value will be used for the initial value for the
DisplayDigits property.