shaolinf wrote:Luke, use the API. Use the API, Luke.
Thanks for the replies guys. I set my doubles to bigdecimals. I am trying to carry out an addition and not to sure how it works. Below is what I have:Can someone tell me where Im going wrong ? Note that recipientPrice, stampPrice and letterPrice are BigDecimals.
total = new BigDecimal((recipientPrice + stampPrice + letterPrice) * counter);