[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.AutoRoundValue

AutoRoundValue Property

AutoRoundValue

Gets or sets whether numeric values are rounded to 15 significant digits when they are retrieved.

Use this property to determine whether the workbook applies automatic rounding when reading numeric cell values.

Declaration
bool AutoRoundValue { get; set; }
Property AutoRoundValue As Boolean
Examples
worksheet.Range["A1"].Value = 1.2345678901234567d;
workbook.AutoRoundValue = true;
bool autoRoundValue = workbook.AutoRoundValue;
object value = worksheet.Range["A1"].Value;