Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFDataReference.DisplayDigits Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFDataReference.DisplayDigits Property
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: NullableInt32

A 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.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in