Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: Evaluating Formulas with Round() [8877]

$
0
0
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 **

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.


Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>