diff --git a/calc.js b/calc.js index 73c5758..c4b6ad1 100644 --- a/calc.js +++ b/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), diff --git a/index.html b/index.html index 07be005..dd25a72 100644 --- a/index.html +++ b/index.html @@ -232,6 +232,7 @@