Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7405 Vizualizări

Hi,

I create a report based a sql query. i want display all number in format : three digits after comma.

For example :

result of sql query salary=500.3

i want display in report PDF : 500.300

Thanks.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

You can use: [[ '%0.4f' % result ]]

Imagine profil
Abandonează
Autor

Thankyou very match. works now . Any doc about this formatting?

Related Posts Răspunsuri Vizualizări Activitate
5
nov. 16
11841
3
mar. 15
9078
3
sept. 25
3286
1
nov. 22
8426
1
mar. 15
5248