Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5765 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

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

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
6158
1
thg 3 15
7053
1
thg 11 18
5399
1
thg 3 15
4507
2
thg 3 15
10326