Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6846 Zobrazení

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.

Avatar
Zrušit
Nejlepší odpověď

Hi,

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

Avatar
Zrušit
Autor

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

Related Posts Odpovědi Zobrazení Aktivita
5
lis 16
11233
3
bře 15
8534
2
pro 24
2325
1
lis 22
6185
1
bře 15
4697