IReport 3.0
Using a Style - test2 (as per attached jrxml), I have set a numeric field to have a currency format.
When I run the report it does not observe the style.
Why?
3 Answers:
You do not want to use the Markup/Style option in Properties, which I think you have. Reset that to the default 'none' Instead set the style property (right below Opaque) to "test", which should appear in the Dropdown. Styled markup means there will be escape sequences in the string to be honored as format controls. HTH.
The basic idea is that you want to apply a text style to that field, and instead you are telling iReport that the contents of the field contain style information. You want to uncheck Styled Text and put the name of your style in the Style field that in 3.0.0 is just above the "Print When Expression" in the Properties panel.