shree909 Posted July 16, 2013 Share Posted July 16, 2013 Hi i am trying the change the number format to the Money value . when i try to change the field patter value to the currency its not displaying the value.Is there a way that i could do it with some codinglike" $ #,##0.00".. i tried this but throwing an error.could some one look into this issue.I am new to Jaspersoft and trying to build some reports.is there a good material other than ireport guide and videos ..Helpful answers would be appreciated../ Thanks Link to comment Share on other sites More sharing options...
shree909 Posted July 16, 2013 Author Share Posted July 16, 2013 I iI figured it out that we can use the symbols in the text fields and static text only with + operator and enclosing the text in double quotoes. Link to comment Share on other sites More sharing options...
mmflynn Posted July 16, 2013 Share Posted July 16, 2013 Hi - I haven't seen this problem before. The error message would help. Forgive me if this suggestion is much too elementary, but check the field width. The field may not be wide enough to show the desired formatting. Make the field wider. You didn't mention if you tried running the report. Do you get a different result in design mode and preview mode? Good luck, Mary Flynn Jaspersoft Link to comment Share on other sites More sharing options...
mmflynn Posted July 16, 2013 Share Posted July 16, 2013 Is the field numeric or text? Link to comment Share on other sites More sharing options...
shree909 Posted July 16, 2013 Author Share Posted July 16, 2013 Thanks for the reply..The reason why i am not able to change the value into currecy mode is the , the value which is coming from database has a string value, when i changes that to the .bigdecimal then it started accepting the formation of the values.. 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