﻿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
23320	FloatField not converting values to float()	Patrick Robetson	nobody	"Apologies for creating an issue if this is the expected behaviour (FWIW there were no ideas on IRC):

Is the behaviour outlined in this snippet expected:
https://dpaste.de/BAck

I'd have expected the FloatField to convert values to a float in the return object as well (I can verify that the `to_python` method is being run, because the number is saved to the database correctly.


Is the recommended way of solving this to subclass FloatField and use?


{{{
class MyFloatField(with_metaclass(models.SubBaseField, models.FloadField)):
   ...
}}}
"	Uncategorized	new	Database layer (models, ORM)	1.7-rc-2	Normal				Unreviewed	0	0	0	0	0	0
