Function LeaseYearsRemaining
Calculates the lease years remaining
LeaseYearsRemaining([TERM],[START])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | integer | required | n/a | TERM | The lease term |
| 2 | date | required | n/a | START | The lease start date |
Returns
The number of years remaining for the lease.
Examples
Example of calculating the lease term on a property.
{{LeaseYearsRemaining(ALIAS.LEASETERM, ALIAS.LEASESTART)}}
