Fixes a bug reading records with invalid float values

Fields in records that are read with deci = True can raise an error on float(value). This fix catches the error and returns 0, since this most often happens when placeholder values are used for empty data ("N/A", " ", "-").

PEP-8 style guidelines are applied in the second commit. This is only stylistic, and does not change functionality.