Nominal(EffectRate: Double; PeriodCount: Integer): Double;
Nominal(EffectRate: double; PeriodCount: integer): double;
Parameters | Description | Constraints |
EffectRate | Actual interest rate. | Must be positive. |
PeriodCount | The number of periods in a year, for which compound interest is calculated. | Must be positive. |
The Nominal method returns annual nominal interest rate, if the effective rate and the number of periods in a year, for which compound interest is calculated, are specified.
Nominal is calculated using the following formula:
To execute the example, add a link to the MathFin system assembly.
Sub UserProc;
Var
r: Double;
Begin
r := Finance.Nominal(0.25, 4);
Debug.WriteLine(r);
End Sub UserProc;
After executing the example the console window displays the annual nominal interest rate equal to 0.229.
The requirements and result of the Fore.NET example execution match with those in the Fore example.
Imports Prognoz.Platform.Interop.MathFin;
…
Public Shared Sub Main(Params: StartParams);
Var
r: double;
Finance: FinanceClass = New FinanceClass();
Begin
r := Finance.Nominal(0.25, 4);
System.Diagnostics.Debug.WriteLine(r);
End Sub;
See also: