Skip to content

Commit

Permalink
Update brain.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
711sarthak authored Oct 2, 2019
1 parent 7e8541c commit 7542623
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/brain.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,17 @@ class CalculatorBrain {
return discou;
}
double insuType(){
base=insuType();

base=ecPrice();
dep=timeDep();
discou=disco();
var price = double.parse(orgPri);
iDV= price-dep;
odc=iDV-discou;
if(it=='3rd party'){
finalPrice=ecPric;
finalPrice=iDV;//ecPric+dep;
return finalPrice;

}
else if(it=='Own Damage Cover'){
finalPrice=odc;
Expand All @@ -113,4 +115,4 @@ class CalculatorBrain {
double hi=carInsu.insuType();
return hi;
}
}
}

0 comments on commit 7542623

Please sign in to comment.