Skip to Content
मेन्यू
This question has been flagged
1 Reply
6856 Views

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

Hi,

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

Avatar
Discard
Author

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

Related Posts Replies Views Activity
5
नव॰ 16
11238
3
मार्च 15
8552
2
दिस॰ 24
2346
1
नव॰ 22
6211
1
मार्च 15
4701