Issue #757 - Bug fix - Passing float argument to worksheet.cell

Created originally on Bitbucket by Jacob Scherber

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

max_row changes type to float

  • added a check when using worksheet.cell to allow floats that pass is_integer() and to throw an exception at all other times

  • set-up conditional to test for appropriate float values in new cells

    The values passed into worksheet.cell only make sense as integer values, but depending on the use, it may recieve those integer values as floats. The bug fix checks whether the float values can be safely cast to integer and if so, does so. Otherwise it throws a TypeError exception

Closes #757 (closed)

Merge request reports

Loading