Re: Adding Support for a Float32 Field

2017-02-26 Thread Daniel da Silva
I'm not sure of the design rationale behind including options to specify variants of integers, but not floats. We already have SmallIntegerField, IntegerField, and BigIntegerField. Why is this not in the same line of thinking? I might as well justify my use case a little more: I am building a

Adding Support for a Float32 Field

2017-02-26 Thread Daniel da Silva
I have a Django project that uses the database to store a large number of sensor readings. I use FloatField to store these, which maps to a double precision float in the database. This is a waste of space, because the sensors themselves are only accurately to a few decimal places. If I switched