Code
= Inputs.number(
viewof pre_tax_savings 0, 200000000],
[value: 40000, step: 500, label: "Pre-tax Savings:"}
{;
)
= Inputs.range(
viewof RRSP_match 0, 1],
[value: 0, step: .01, label: "RRSP Match:"}
{;
)
= Inputs.number(
viewof max_RRSP_match 0, 100000],
[value: 100000, step: 100, label: "Max RRSP Match"}
{;
)
= Inputs.number(
viewof RESP_match 0, 1],
[value: .2, step: .01, label: "RESP Match:"}
{;
)
= Inputs.number(
viewof max_RESP_match 0, 100000],
[value: 7200, step: 100, label: "Max RESP Match:"}
{;
)
= Inputs.range(
viewof annual_return 0, 2],
[value: .07, step: .005, label: "Annual Return:"}
{;
)
= Inputs.range(
viewof years 1, 100],
[value: 10, step: 1, label: "Years Invested:"}
{;
)
= Inputs.range(
viewof current_tax 0, 1],
[value: .3, step: .01, label: "Current Income Tax Rate:"}
{;
)
= Inputs.range(
viewof future_tax 0, 1],
[value: .3, step: .01, label: "Future Income Tax Rate:"}
{;
)
= Inputs.range(
viewof ben_future_tax 0, 1],
[value: 0, step: .01, label: "Beneficiary's Future Income Tax Rate:"}
{; )