How can i get data format as 113962 to 113,962 in ireport

0

Hi,

Have data in database like below

1594

113962

.

.

I want like

1,594

113,962

.

.

.

 

Thanks.

r.reddy.galla's picture
Joined: Apr 24 2017 - 5:52am
Last seen: 1 week 2 hours ago

3 Answers:

0

Search for format decimals in java.

mlopez_1's picture
493
Joined: Oct 21 2013 - 8:08am
Last seen: 44 min 8 sec ago
0

    <style name="Values" pattern="#,##0">
        <box rightPadding="5"/>
    </style>

you can use the above style formatting

reportdev's picture
628
Joined: Oct 12 2015 - 12:05pm
Last seen: 1 week 3 days ago
0

At your field text, click right mouse and choose "Field Pattern", then choose your format, u can set the pattern is "#,##0" to display that u want.

dohungnd94's picture
Joined: Feb 7 2017 - 6:53am
Last seen: 43 min 40 sec ago
Feedback
randomness