Sorry for this noob question but I really don't know what to search and how to solve it.I have a table structure like this:
This is only a part of my table.
budget_cost
has 1000000000.1
literal
I tried to fetch the values
while( result.next() )
{
ProjectBean projectBean = new ProjectBean();
...
projectBean.setBudgetCost( result.getDouble( "budget_cost" ) );
...
}
my model has setter and getter of each variables
public class ProjectBean
{
...
private double profitRate;
private double vatRate;
private double fees;
private double budgetCost;
private String dateDeadline;
...
}
I tried to print the budgetCost
and it prints 1.0E9
I need it to display 1000000000.1
what am I doing wrong?