Calculate end date from start date and contract term(in years)

I want to calculate the contract end date by using contract start date (user selects this) and contract duration (this is an integer which displays years).

I used formula $contract_start_date + $contract_duration years. But it shows only floating value.
i have used the field calculated result.
please help


A calculated field cannot show a date. You should instead set a date field to your formula with an edit rule.

yeah ! it worked by making a rule for this.