cyncity Posted February 26, 2015 Share Posted February 26, 2015 I've done much searching and can't find an answer to my dilemma.I am using Jaspersoft iReport Designer 4.6.0I have an input parameter called i_start, the parameter class is java.lang.IntegerWhen the report is finished running I would like i_start to be displayed in the format of $#,##0.00How can I achieve this? Link to comment Share on other sites More sharing options...
H Mendoza Posted February 27, 2015 Share Posted February 27, 2015 Add the parameter to a Text Field, and then set the Pattern (...Currency type), which is a Property available to you. Link to comment Share on other sites More sharing options...
venkateshreddy080 Posted March 2, 2015 Share Posted March 2, 2015 Drag and drop that parameter on any Band and open the Properties of that text field, then set the Pattern(Currency Type) whichever you needed and also you can write an custom currency expression(#,##0.##, ##0.##, #,##0 and etc) also if it is not available in the default currency types. Regards Venkatesh Reddy Link to comment Share on other sites More sharing options...
cyncity Posted March 2, 2015 Author Share Posted March 2, 2015 thank you your help.Because of the funny character '¤' instead of a '$' sign when using currency, I used a custom pattern with '$' at the beginning. It works how I want it to. 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