RubberTechnology Posted March 25 Share Posted March 25 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? Thanks! Link to comment Share on other sites More sharing options...
RubberTechnology Posted April 5 Author Share Posted April 5 (edited) nobody? thought this would be a real quick one for the pros 😆 maybe i did not express myself well? i just want to display 75,00 as 75 Edited April 5 by RubberTechnology Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted 21 hours ago Share Posted 21 hours ago You are trying to convert String objects to Integer . Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted 19 hours ago Share Posted 19 hours ago Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted 19 hours ago Share Posted 19 hours ago Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now