Hi,
ClosedXML doesn't evaluate formulas with the Round() function.
PS: Is their a list of supported / not supported functions?
Greetings,
Raidri
Comments: ** Comment from web user: MDeLeon **
ClosedXML doesn't evaluate formulas with the Round() function.
PS: Is their a list of supported / not supported functions?
Greetings,
Raidri
Comments: ** Comment from web user: MDeLeon **
The Round function works just fine:
var wb = new XLWorkbook();
var ws = wb.AddWorksheet("Sheet1");
var value = ws.FirstCell().SetFormulaA1("=ROUND(1.239, 2)").GetDouble();
From the downloads page: (I'll add it to the documentation)
This is a list of the included formulas:
All math and trigonometric formulas.
All text formulas except BAHTTEXT, JIS, and PHONETIC.
All logical formulas.
All date and time formulas.
Many statistical formulas.