SpreadsheetGear 2023
PrecisionAsDisplayed Property (IWorkbook)


SpreadsheetGear Namespace > IWorkbook Interface : PrecisionAsDisplayed Property
Gets or sets the property which determines whether numbers will be rounded to the precision of the number format.
Syntax
'Declaration
 
Property PrecisionAsDisplayed As System.Boolean
'Usage
 
Dim instance As IWorkbook
Dim value As System.Boolean
 
instance.PrecisionAsDisplayed = value
 
value = instance.PrecisionAsDisplayed
System.bool PrecisionAsDisplayed {get; set;}
Remarks
When PrecisionAsDisplayed is changed from false to true, all numbers in the workbook are rounded according to their number format. Setting PrecisionAsDisplayed back to false does not bring back the original values of these numbers.
Requirements

Target Platforms: 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

Reference

IWorkbook Interface
IWorkbook Members