Skip to Content
मेन्यू
This question has been flagged
1 Reply
6992 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
11376
3
मार्च 15
8688
2
दिस॰ 24
2585
1
नव॰ 22
6720
1
मार्च 15
4786