InterestExtensions 2.0.0
See the version list below for details.
dotnet add package InterestExtensions --version 2.0.0
NuGet\Install-Package InterestExtensions -Version 2.0.0
<PackageReference Include="InterestExtensions" Version="2.0.0" />
<PackageVersion Include="InterestExtensions" Version="2.0.0" />
<PackageReference Include="InterestExtensions" />
paket add InterestExtensions --version 2.0.0
#r "nuget: InterestExtensions, 2.0.0"
#addin nuget:?package=InterestExtensions&version=2.0.0
#tool nuget:?package=InterestExtensions&version=2.0.0
InterestExtensions
This extension facilitates the calculation of both simple interest and compound interest.
Usage Examples
Here are some examples of how to use the extension:
decimal principal = 100;
decimal interestRate = 0.004m;
int period = 7;
// Calculate simple interest
decimal simpleInterest = principal.CalculateSimpleInterest(interestRate, period);
Console.WriteLine($"Simple interest: {simpleInterest}");
// Calculate compound interest
decimal compoundInterest = principal.CalculateCompoundInterest(interestRate, period);
Console.WriteLine($"Compound interest: {compoundInterest}");
Installation
To install the package via NuGet, you can use the following command:
dotnet add package InterestExtensions
You can also visit the NuGet package page for more information and to download the package.
Contribution
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.
License
MIT License © Bruno Loures <br /> <br />
<details> <summary>Credits</summary> Icon - <a href="https://www.flaticon.com/free-icon/tax_5772764?related_id=5772747&origin=search">Freepik - Flaticon</a> </details>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.