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

New Post: applyNumberFormat flag in cellStyle XF field set to 0 by ClosedXML. Why?

$
0
0
I had to look around and think about this one for a while because, as always, my default is that there's got to be a reason for the way things are. In this case there isn't.

Pick up the latest source code. I made ApplyNumberFormat to always be true (if you don't apply a format it will still have the number format of zero, which is perfectly valid). I'm going with this approach because keeping track of when you set the format explicitly is rather cumbersome. It's also unnecessary considering that even Excel makes ApplyNumberFormat true when it's not needed.

Let me know if you have other problems.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



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