id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 1230,FloatField values in generated Sql have no standard string representation,gp.ciceri@…,Adrian Holovaty,"In FloatField class definition there's no value string representation to put the float into the database, so rounding problems may occur: perhaps a simple helper method like this can help. {{{ def get_db_prep_save(self, value): ""Returns field's value prepared for saving into a database."" if self.max_digits == None: self.max_digits = 12 if self.decimal_places == None: self.decimal_places = 4 fmt = ""%%%s.%sf"" % (self.max_digits, self.decimal_places) return fmt % value }}} Thanks for your patience /gp ",defect,closed,Core (Other),dev,normal,invalid,,,Unreviewed,0,0,0,0,0,0