Below is the
example of expression that can be used to change pattern expression
conditionally.
IF(EXACT($P{myNumber},"Dollar"),
new java.text.DecimalFormat("#,##0.00").format($F{totalCost}),
$F{totalCost}
)
* The above
expression must be typed in Text Field Expression
No comments:
Post a Comment