Skip to Content
Menu
This question has been flagged
1 Atsakyti
6964 Rodiniai

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.

Portretas
Atmesti
Best Answer

Hi,

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

Portretas
Atmesti
Autorius

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

Related Posts Replies Rodiniai Veikla
5
lapkr. 16
11338
3
kov. 15
8650
2
gruod. 24
2488
1
lapkr. 22
6520
1
kov. 15
4761