DavidA wrote:
> Is the convention to just use float() or Decimal()
> whenever I need to use it as a number?
I'm not sure what is the final decision, but in my first try in implementing
validate and to_python methods (in MR) I
use Decimal as return type for the FloatField.
OTOH, maybe we can
I'm a little confused about FloatFields and I was hoping someone could
shed some light. They seem to be represented in the DB as 'numeric' but
exist in Python as strings:
class FundCapital(models.Model):
fund = models.ForeignKey(Fund)
date = models.DateField()
capital =
2 matches
Mail list logo