jeudi 28 avril 2016

Ireport/Jaspersoft Designer 'dynamic' patterns

I need to create a "dynamic" set of patterns for a double type field. For instance, if the number is 20.10 then pattern is #,##.00 and if the number is 200.10 the pattern will be #,###.00 and if the number is 2000.10 its used the pattern #,####.00

I need this because I'll have an xml with diferent values for the same field but I need a pattern for them all. Is this possible in ireport or the pattern is unique? This will be made in iReport Designer 4.1.2 Thanks

Aucun commentaire:

Enregistrer un commentaire