Hello
is there any possible way to format values when using DataRange.Value on listObject?
I have a cell which is calculated and as a results gives -0.0 and in exported excel i see it as 0.0 but when using _book.Worksheets[0].ListObjects[0].DataRange.Value the cell’s value is -8.8475644588470459E-09. None of this helped:
- setting CellsHelper.SignificantDigits = 4;
-
StyleFlag flag = new StyleFlag(); flag.NumberFormat = true; var style = _book.CreateStyle(); style.Number = 2; _book.DefaultStyle = style;
- book.CalculateFormula(new AsposeCalculationOptions
{
PrecisionStrategy = CalculationPrecisionStrategy.Round
});