Microservice : VN


Vn function represents the present value of 1 to be paid from beetween two ages allowing annual increases and interest, annual in arrears.

This is an interactive microservice.

Inputs

Function NameValueExample
Interest rateDouble, use 0.05 for 5%
Increase rateDouble, use 0.05 for 5 %
Age payable fromInteger eg 65
Age payable toInteger eg 85


Results

Output NameValueVariable Name
Discounted value (VN)VN

RunTime Information

Error message
Microservice not called

JSON text
---

Calculation audit
---

Function Information


Function name
VN
Description
Present value discount function (annual in arrears).
API sample signature (new window)
https://ptxapp.azurewebsites.net/api/VN?GET&ConstantInterestRate=0.05&ConstantInPaymentIncreaseRate=0.025&AgeFrom=55&AgeTo=60
Inputs required
i = ConstantInterestRate [Rate as a Double eg use 0.03 for 3%],
j = ConstantInPaymentIncreaseRate [Rate as a Double eg use 0.033 for 3.3.%],
AgeFrom [Integer],
AgeTo [Integer]

Outputs
json, class, VN [Double]
Version number
Beta V0.0.2 20210429
Technical notes
Present value discount Function (annual in arrears). This function can be overloaded with age/future rates.




PenTechX.Com Back to the Lab


This product is a work in progress and should be treated as such. Whilst all reasonable efforts have been made to ensure the accuracy of this document, errors may sometimes occur. Please report any documentation issues to RPM IT Consulting as soon as possible. RPM IT Consulting and PenTechX accepts no liability arising from inaccuracies or omissions in this website, blog and attached documents, and reserves the right to revise the contents without notice.

Terms And Conditions


API source : [BETA] [HTML]
PenTechX is a trading name of RPM IT Consulting Ltd.

 © 2025 - PenTechX, PTX.Lab Web Application : PenTechX and RPM IT Consulting Ltd