JasperReports - formatting currency and date fields

I am using JasperReports and IReport to create reports for my application.

How do I format a field to display currency values properly.

e.g. I have a money/BigDecimal field, I want the value to display as
"£240.04" instead of "240.0000"

I also have a timestamp/java.util.Date field, I want it to display as
"12/03/07" instead of "12/03/2007 00:00"

Any ideas?


Relevant Pages

  • Re: Custom date format not working in ACC2003
    ... It forces the year to display as 4 digits in dates, ... setting the Format of the control won't rescue it. ... the date fields in reports always format ...
  • Re: Tapble top fusion generator
    ... >increased my monitor format to 1280x1024 and display it on a Mitsubishi ... >using a screen format less than 1280x1024 and the low -resolution LCD ... >Since the poster writing about the character overlap, ... is, when you make one web site viewable, you can render others ...
  • 2 Ques regarding dates (matching and subtracting)
    ... The end-user enters a date in cell a2, validated to format DD/MM/YYYY. ... In K30, I want to display the number of days until the end of the month, ... "Jacob" wrote: ... > I want to use a subtraction or matching formula. ...
  • Re: Dividing hours
    ... you can display these in a format that mimics time by making use of the ... The divisional manager will enter in the annual planned hrs on the ... worksheets Each workbook also has a calculation worksheet. ...
  • Re: Excel Calculation issues
    ... Hmmmm. ... VB Format() does the right thing with 40179.00440002. ... I suspect the latter because of the similarities that I see in examples that have different results. ... a number like 30000.098 will display ok. ...