andersnm / ExcelNumberFormat

Parse and render Excel number format strings
MIT License
79 stars 27 forks source link

For empty format strings, default to built-in .NET formatter #3

Closed igitur closed 6 years ago

igitur commented 6 years ago

Currently, if you pass an empty format string, an exception is raised. I would expect that some default format would be used. I don't think this should necessarily be what Excel would use as a default. I think the build-in .NET ToString() method is just fine, but you'll have to say whether this fits in with what you expect.

So this PR: