Hi Carmelo,
On 2018-01-19 13:24, Carmelo J. Morales Muñoz wrote:
hello!....
I don´t know how solve this... I need django show always float numbers
in this format:
1234.56
actually use 1 decimal only, example: 1234,1
I need 1234,10
You don't write anything about which context you're talking about, but
assuming you're talking about the Django templating system, you should
have a look at this:
https://docs.djangoproject.com/en/2.0/ref/templates/builtins/#floatformat
Cheers,
Kasper
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/8e1ecdf8-999f-7c60-f61b-4b35e081c9bf%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.