Hasbati.Percentage.Calculator
1.0.1
dotnet add package Hasbati.Percentage.Calculator --version 1.0.1
NuGet\Install-Package Hasbati.Percentage.Calculator -Version 1.0.1
<PackageReference Include="Hasbati.Percentage.Calculator" Version="1.0.1" />
<PackageVersion Include="Hasbati.Percentage.Calculator" Version="1.0.1" />
<PackageReference Include="Hasbati.Percentage.Calculator" />
paket add Hasbati.Percentage.Calculator --version 1.0.1
#r "nuget: Hasbati.Percentage.Calculator, 1.0.1"
#:package Hasbati.Percentage.Calculator@1.0.1
#addin nuget:?package=Hasbati.Percentage.Calculator&version=1.0.1
#tool nuget:?package=Hasbati.Percentage.Calculator&version=1.0.1
Hasbati Percentage Calculator (.NET) – حاسبة النسبة المئوية
Hasbati Percentage Calculator is a lightweight .NET library designed to simplify common percentage calculations with a clean and developer-friendly API. It provides a foundation for percentage-based operations in financial applications, educational tools, e-commerce platforms, and general-purpose software.
The library is designed to support reusable calculation logic, making it easier for developers to incorporate percentage calculations into their .NET projects.
Key Features
- Percentage Calculations: Calculate the percentage one value represents of another.
- Lightweight Design: Keep percentage calculation logic simple and focused.
- Easy Integration: Designed for use in compatible .NET applications.
- Versatile Applications: Suitable for financial, educational, business, and e-commerce scenarios.
- Reusable Logic: Integrate percentage calculations into larger applications and workflows.
Installation and Integration
Add the library to your .NET project using the installation method provided by this repository or its package distribution source.
For the correct package name, supported .NET versions, and installation instructions, refer to the project files and package documentation.
Usage Example
The following example demonstrates how to calculate what percentage one value represents of another using the library's API:
using Hasbati.Percentage;
// Calculate what percentage 25 represents of 100.
double result = Calculator.GetPercentage(25, 100);
Console.WriteLine(result); // 25
Expected result: 25, meaning that 25 is 25% of 100.
Live Interactive Calculator
Prefer a ready-to-use calculator without writing code? Try the official Hasbati Percentage Calculator – حاسبة النسبة المئوية.
The online tool provides a graphical interface for percentage-related calculations, including discounts and other supported percentage operations.
About Hasbati
Hasbati (حسباتي) is an online platform offering practical calculators and digital tools for everyday mathematical, financial, and academic needs. Its tools aim to make calculations easier and more accessible for Arabic-speaking users.
Explore the complete collection of online calculators at Hasbati.com.
License
Refer to the repository's LICENSE file for the applicable licensing terms.
| 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.