Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast nil to zero? #245

Open
dleavitt opened this issue Jul 13, 2021 · 1 comment
Open

Cast nil to zero? #245

dleavitt opened this issue Jul 13, 2021 · 1 comment

Comments

@dleavitt
Copy link
Contributor

Excel seems to treat null values as zero for the purposes of arithmetic. Dentaku does not, it raises a Dentaku::ArgumentError.

Screen Shot 2021-07-12 at 17 37 53

Screen Shot 2021-07-12 at 17 37 58

Would you accept a PR to this behavior to match Excel? It would be a pretty consequential change, so perhaps behind a flag?

@dleavitt
Copy link
Contributor Author

similar motivation to #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant