Jump to content
Changes to the Jaspersoft community edition download ×

Convert decimal number to integer

Recommended Posts

Hey everyone,

i would like to convert a text field with a decimal number (75,00) to an integer (75), so cutoff the decimal place. 

My first try was to work with pattern ("0"), my second try was to convert to double (new Double($F{IhrFeldname}).intValue()) - without any success. 

What am I doing wrong? Do you got any idea for a quick and easy solution?



Screenshot 2024-03-25 144716.png

Screenshot 2024-03-25 144807.png

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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