abhwadh Posted January 28, 2010 Share Posted January 28, 2010 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 BigDecimalPlease any one help me in this issue at the earliest. Link to comment Share on other sites More sharing options...
svenn Posted January 28, 2010 Share Posted January 28, 2010 You could convert the BigDecial to a String http://java.sun.com/j2se/1.5.0/docs/api/java/math/BigDecimal.htmlPost Edited by svenn at 01/28/2010 16:53 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now