django DecimalField and scientific notation when displayed

54 views
Skip to first unread message

Michael

unread,
Sep 4, 2014, 11:52:18 AM9/4/14
to django...@googlegroups.com
Hello,

How to display the DecimalField without the E (scientific) notation in the django admin?

Here is my field:

    models.DecimalField(max_digits=12, decimal_places=8, null=True)


Here is what I see in the admin:

    0E-8.00000000    # on the table
    0E-8                   # in the form

Looking at this ticket https://code.djangoproject.com/ticket/19220, I thought it was fixed but I have the issue so I am not sure what is happening...

I am using Django 1.6.7

Thanks for your help
Michael


Reply all
Reply to author
Forward
0 new messages