 Help WLanguage WLanguage functions Standard functions Numeric values management functions Financial functions FinNetCurrentVal (Example) Net current value of an investment  FinCurrentVal (Example) FinCurrentVal FinDecreasingRedemption (Example) FinDecreasingRedemption FinError (Example) FinError FinFutureVal (Example) FinFutureVal FinInterestRate (Example) FinInterestRate FinLinearRedemption (Example) FinLinearRedemption FinNetCurrentVal (Example) FinNetCurrentVal FinPaymentNb (Example) FinPaymentNb FinPeriodInterest (Example) FinPeriodInterest FinRedemption (Example) FinRedemption FinRepayVal (Example) FinRepayVal Financial constants Financial functions
 Net current value of an investment FinNetCurrentVal (Example)See the associated help page Net current value of an investment The following code is used to calculate the net current value of an investment. This investment of 100000 Euros must bring in:6000 Euros the first year, 3000 Euros the second year, 4500 Euros the third year, 8000 Euros the last year.The yearly refresh rate: 10 % // --Click code on BTN_CurrentNetVal// Declare the variableResCurrentNetVal is real // Create and initialize the matrixMatCreate("Matrix")MatWrite("Matrix", -100000, 1, 1)MatWrite("Matrix", 6000, 1, 2)MatWrite("Matrix", -3000, 1, 3)MatWrite("Matrix", 4500, 1, 4)MatWrite("Matrix", 8000, 1, 5) // Calculate the net current valueResCurrentNetVal = FinNetCurrentVal(10, "Matrix", 1)IF FinError() = 0 THEN Info("The current net value is: " + ResCurrentNetVal)ELSE // Display the error message Error(ErrorInfo(errMessage))END Minimum version required Version 9 This page is also available for…