Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setting num_format to '0' doesn't apply formatting #103
I didn't bother digging into why, but '0' doesn't work as a format when running Worksheet.add_table and specifying format (I didn't try any other way of populating cells). It should be formatted as a number without decimal points, but no formatting is being applied.
A workaround is to use '#0' but '0' should work.
That is the result of a slightly misguided attempt to support number format strings and Excel's built-in format numbers where
Anyway, it is still a bug and I'll fix it.
In the meantime you can use 1 as the number format or your own workaround.