FloatFields are not actually Floats
|Reported by:||Owned by:||Jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
FloatFields should return a float() datatype so they can be used in comparison.
The issue arises when you want to compare data in the database, to data thats not yet in the database.
float_field = FloatField(decimal_places=2, max_digits=8)
This is misdirection and I believe one of the following should happen:
- the data type should either be changed to a float
- the data type should be comparable with a float
- it should be relabeled DecimalField