Answers for "float number field django models"

0

float number field django models

float = models.DecimalField(max_digits=5,decimal_places=2)
#max_digits is maximum number of digits allowed in the number. 
#Note that this number must be greater than or equal to decimal_places.
Posted by: Guest on October-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language