Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
6933 Prikazi

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
Opusti
Best Answer

Hi,

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

Avatar
Opusti
Avtor

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

Related Posts Odgovori Prikazi Aktivnost
5
nov. 16
11320
3
mar. 15
8629
2
dec. 24
2425
1
nov. 22
6375
1
mar. 15
4734