I am looking for a way to limit the FloatField in Django to 2 decimal places has anyone got a clue of how this could be done without having to use a DecimalField.
I tried decimal_places=2
but this was just giving me a migration error within the float field so i am thinking this method must only work within DecimalFields.
DecimalField
?models.FloatField(default=to_some_value)