This document is archived and information here might be outdated.  Recommended version.


IField.Precision Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IField.Precision Property

The precision for field values.

[Visual Basic .NET]
Public ReadOnly Property Precision As Integer
[C#]
public int Precision {get;}
[C++]
HRESULT get_Precision(
  System.Int32* Length
);
[C++]

Parameters Length [out, retval]
Length is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Precision is the number of digits in a number. For example, the number 56.78 has a precision of 4. Precision is only valid for fields that are numeric. Precision is always returned as 0 from personal or File geodatabase fields.

See Also

IField Interface

.NET Related Topics

Working with fields