You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load Rounddown_Issue.xlsx - using var fs = new FileStream("Rounddown_Issue.xlsx", FileMode.Open, FileAccess.Read);
Create new instance of workbook - var wb = new XSSFWorkbook(fs);
Get the first sheet - var sheet = wb.GetSheetAt(0);
Create new instance of formula evaluator - var formula = new XSSFFormulaEvaluator(wb);
Evaluate all - formula.EvaluateAll();
Read numeric cell value of G4 - g4.NumericCellValue
Actual output: 17.55
Expected output: 17.56
Issue Description
NPOI formula evaluation does not calculate properly the value of G4 as it is calculated in Excel.
The excel calculation template shows value 17.56 at cell G4, but the NPOI library evaluate it to numeric cell value of 17.55
The text was updated successfully, but these errors were encountered:
NPOI Version
2.5.6
File Type
Upload the Excel File
Rounddown_Issue.xlsx
Reproduce Steps
Actual output: 17.55
Expected output: 17.56
Issue Description
NPOI formula evaluation does not calculate properly the value of G4 as it is calculated in Excel.
The excel calculation template shows value 17.56 at cell G4, but the NPOI library evaluate it to numeric cell value of 17.55
The text was updated successfully, but these errors were encountered: