Jump to content

How to get decimal values rouded to two


santosh.audi19

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 

Formatting in expression editor:

 

     number format example:

     new java.text.DecimalFormat("#,###.00").format($F{price})

 

     date format example:

     new java.text.SimpleDateFormat("dd/MM/yyyy").format($F{date})

 

you can check the java expressions for others.

Link to comment
Share on other sites

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...