Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
5900 Näkymät

I don't know if that is the right question but the problem is that I have a .ods report, and I call a float field and format it into text or a text field with only numbers, but when the report is printed it always convert the text into a number even if the cell format is set to text so I lose my format in the report.

Avatar
Hylkää

What king of format you want to give to float field?

Tekijä

I am using various formats, for example: '{:014.2f}'.format(line.total)

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 15
6382
1
maalisk. 15
7208
1
marrask. 18
5489
1
maalisk. 15
4646
2
maalisk. 15
10514