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

Created Unassigned: String/integer comparison [9450]

$
0
0
Excel accepts expressions like:

```
IF(3="","a","b")
```

Where the comparison obviously returns false. ClosedXML tries to convert the empty string to an integer, fails, and cause an exception.

In attachment, an example of a file that is displayed by Excel, but throws an exception when read with a "cell.Value" in ClosedXML.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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