rafaspara2017 Posted July 19, 2021 Share Posted July 19, 2021 I have a String variable that contains a formatted value, for example, R$ 1.234,56Would JasperStudio convert this String to Double with the format looking like this: 1234.56? Link to comment Share on other sites More sharing options...
luked Posted July 19, 2021 Share Posted July 19, 2021 Hi there,You can try the following - java.lang.Double.valueOf($F{YourString}) Link to comment Share on other sites More sharing options...
Mehul Bamania Posted August 31, 2021 Share Posted August 31, 2021 String.format("%.2f", d) 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