show selling costs transparently in tooltip and label on result card
This commit is contained in:
2
calc.js
2
calc.js
@@ -68,6 +68,7 @@ function run_simulation(p) {
|
||||
cum_rent_arr.push(0);
|
||||
detail_arr.push({
|
||||
house_value: Math.round(home_value),
|
||||
selling_costs: Math.round(selling_costs_0),
|
||||
mortgage_balance: Math.round(balance),
|
||||
buyer_portfolio: Math.round(buyer_portfolio),
|
||||
yr_interest: 0,
|
||||
@@ -143,6 +144,7 @@ function run_simulation(p) {
|
||||
cum_rent_arr.push(Math.round(cum_rent_cost));
|
||||
detail_arr.push({
|
||||
house_value: Math.round(home_value),
|
||||
selling_costs: Math.round(selling_costs),
|
||||
mortgage_balance: Math.round(balance),
|
||||
buyer_portfolio: Math.round(buyer_portfolio),
|
||||
yr_interest: Math.round(yr_interest),
|
||||
|
||||
Reference in New Issue
Block a user