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