03-20-2012 01:09 PM
Suppose transactionAmount is a defined as a BigDecimal in the JAVA OM, how to initialize it and give it a default value.
Following code gives the error as shown below.
transactionAmount = 100.00;
Error: Explicit cast required to assign a 'real' to a 'BigDecimal' use 'as a BigDecimal'.
Solved! Go to Solution.