Jasper report – Pattern for Negative Numbers

03 / May / 2010 by Hitesh Bhatia 2 comments

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
____________________

FOUND THIS USEFUL? SHARE IT

comments (2)

Leave a Reply

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