ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Numeric values functions / Financial functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
FinError (Function)
In french: FinErreur
Returns the number of the last error caused by a Finxxx function (see the list of financial functions).
Example
// Identify the type of error
ResError = FinError()
Syntax
<Result> = FinError()
<Result>: Integer
Number of the last error caused by a financial function:
NumberType of errorAffected functions
0No errorAll the functions
1The duration cannot be nullFinDecreasingRedemption,
FinLinearRedemption
2The matrix is emptyFinNetCurrentVal
4The period cannot be longer than the durationFinPeriodInterest
5The type of amortization is not correctFinRedemption
6The pay-off amount is nullFinPaymentNb
7Data inconsistencyFinInterestRate,
FinPaymentNb
8The acquisition cost cannot be nullFinDecreasingRedemption,
9The matrix does not existFinNetCurrentVal
10Maximum values exceededAll the functions
11Unable to calculate (division by zero)FinRedemption,
FinPeriodInterest,
FinCurrentVal,
FinNetCurrentVal,
FinRepayVal
12Infinite number of paymentsFinPaymentNb
13The rate was not foundFinInterestRate
14The period is longer than the durationFinDecreasingRedemption
15Number of months for the first year not included between 0 and 12FinDecreasingRedemption
Remarks
To get more details on the error, use ErrorInfo with the errMessage constant.
Component: wd290mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help