Version

Precision Property (Workbook)

Gets or sets the precision to use when obtaining a cell's value.
Syntax
'Declaration
 
Public Property Precision As Precision
public Precision Precision {get; set;}

Property Value

The precision to use when obtaining a cell's value.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not defined in the Precision enumeration.
Remarks

The precision determines whether to use the actual value of the cell or the display value of the cell. These are typically the same, but the format of a cell could cause a loss of precision in the displayed value. For example, if a cell's value is 18.975, and a currency format is used for the cell, the display value will be 18.98.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also