Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dguedesb committed Apr 29, 2014
1 parent 3c0e544 commit 5e73685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPIN_API/src/usdl/servicemodel/PricePlan.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void removePriceComponentAt(int index)
* @return A PriceSpec instance that contains the price value of the Price Plan.
*/
//TODO: review the calculation process
public String calculatePrice(Model model)
public Double calculatePrice(Model model)
{
//sum each of the price components price value
String finalprice = "";
Expand Down Expand Up @@ -247,7 +247,7 @@ else if(pc_price < lower_limit && lower_limit >= 0)
finalvalue = this.getPriceFloor().getValue();
}

return finalprice;
return finalvalue;
}

/**
Expand Down

0 comments on commit 5e73685

Please sign in to comment.