amortization

(plugins.amortization)

Overview

The amortization plugin in Servoy provides a scripting object for calculating amortizations, managing polynomials, and performing date calculations. It supports creating detailed amortization schedules and solving complex financial computations.

The plugin offers key functionalities, such as creating a new AmortizationCalculation for managing loans and payments and generating amortization schedules. It allows solving for unknown interest rates and calculating residual balances with precision. Polynomial operations include creating, modifying, and evaluating polynomials, finding roots, and computing derivatives. Utilities for date calculations enable determining next dates based on specified periods, supporting various interval types like monthly, quarterly, and annual cycles.

The newCalculation() method creates a customizable amortization instance, while newPolynomial() generates and manipulates polynomial functions for advanced mathematical operations. The nextDate() method provides date interval calculations, useful for managing schedules and understanding payment timelines.

Returned Types

AmortizationCalculation,Polynomial,

Methods Summarized

Type
Name
Summary

Creates a new amortization calculation.

Creates a new polynomial which is either 0 or a copy of the specified polynomial.

Creates a new polynomial which is either 0 or a copy of the specified polynomial.

Methods Detailed

newCalculation()

Creates a new amortization calculation.

Returns: AmortizationCalculation A new amortization calculation instance.

Sample

newPolynomial()

Creates a new polynomial which is either 0 or a copy of the specified polynomial.

Returns: Polynomial A new polynomial instance initialized to zero.

Sample

newPolynomial(polynomial)

Creates a new polynomial which is either 0 or a copy of the specified polynomial.

Parameters

Returns: Polynomial A new polynomial instance, initialized as a copy of the specified polynomial.

Sample

nextDate(start_date, period, startday)

Parameters

Returns: Date The next date calculated based on the given period and start day.

Sample


Last updated

Was this helpful?