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
This is by design. We deliberately want to return a Double value only if the cell contents is of Double type. You should check the cell.DataType or cell.IsEmpty() in order to determine whether you can use cell.GetDouble().
Do you want to request a feature or report a bug?
Version of ClosedXML
0.94.2
What is the current behavior?
When calling XLCell.GetDouble() on a empty cell a exception is thrown
What is the expected behavior or new feature?
GetDouble() should return type default (0.0D in this case)
Did this work in previous versions of our tool? Which versions?
Haven't used previous versions
Code to reproduce problem:
The text was updated successfully, but these errors were encountered: