Appending symbol to a currency field

0

I have to append a currency symbol to a currency field. I have created a parameter $P{symbol} which is a string  and I am trying to append it to a currency field which is a BigDecimal. But i am getting a casting error :

Cannot cast from String to BigDecimal

Please any one help me in this issue at the earliest.

abhwadh's picture
Joined: Jan 28 2010 - 6:50am
Last seen: 4 years 10 months ago

1 Answer:

0

You could convert the BigDecial to a String

 http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.html



Post Edited by svenn at 01/28/2010 16:53
svenn's picture
1107
Joined: Mar 19 2007 - 5:57am
Last seen: 7 years 8 months ago
Feedback
randomness