SyntaxFix
Write A Post
Hire A Developer
Questions
You need to use the doubleValue() method to get the double value from a BigDecimal object.
doubleValue()
BigDecimal bd; // the value you get double d = bd.doubleValue(); // The double you want