Jasper report – Pattern for Negative Numbers

1 min read
Share:

Recently had a requirement to print Currency values with a condition that negative numbers must be inside brackets.

It can be done by using pattern property in tag.

 

the part before semicolon is for positive numbers and part following semicolon is for negative number.

____________________
Hitesh
hitesh@intelligrape.com
Intelligrape Software
____________________

comments ( 2 )

Leave a Reply

Your email address will not be published. Required fields are marked *