Jump to content

formatting numbers of a report


Go to solution Solved by hozawa,

Recommended Posts

Posted

WOW do I ever feel like a greenhorn.  I have a report, it has three numbers on it, 2 come from a Postgresql database, the third is calculated at runtime.    Here is the problem I am having, and it is simple.  The calculated field is coming out like "25.231254785"    Where what I need is "25.23"  I would have thought this would be easy, but for the life of me I can not find the place you put the format of a field.

Any help would be awsome, thanks in advance.

Greg

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted

iReport development has already stopped and people are strongly urged to switch over to Jaspersoft Studio.

The place to enter format is "Pattern" in "Text Field" in Properties of a Text component.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...