https://github.com/sepppenner/decimalmath
DecimalMath is a library to calculate mathematic functions with the decimal data type.
https://github.com/sepppenner/decimalmath
Last synced: 10 months ago
JSON representation
DecimalMath is a library to calculate mathematic functions with the decimal data type.
- Host: GitHub
- URL: https://github.com/sepppenner/decimalmath
- Owner: SeppPenner
- License: mit
- Created: 2019-10-22T17:58:25.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-05T21:37:23.000Z (over 1 year ago)
- Last Synced: 2025-03-25T07:23:55.480Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 2.8 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: License.txt
Awesome Lists containing this project
README
DecimalMath
====================================
DecimalMath is a library to calculate mathematic functions with the decimal data type.
[](https://ci.appveyor.com/project/SeppPenner/decimalmath)
[](https://github.com/SeppPenner/DecimalMath/issues)
[](https://github.com/SeppPenner/DecimalMath/network)
[](https://github.com/SeppPenner/DecimalMath/stargazers)
[](https://raw.githubusercontent.com/SeppPenner/DecimalMath/master/License.txt)
[](https://www.nuget.org/packages/HaemmerElectronics.SeppPenner.DecimalMath/)
[](https://www.nuget.org/packages/HaemmerElectronics.SeppPenner.DecimalMath/)
[](https://snyk.io/test/github/SeppPenner/DecimalMath)
[](https://matrix.to/#/#DecimalMath_community:gitter.im)
[](https://franzhuber23.blogspot.de/)
[](https://patreon.com/SeppPennerOpenSourceDevelopment)
[](https://paypal.me/th070795)
## Available for
* Net 8.0
* Net 9.0
## Net Core and Net Framework latest and LTS versions
* https://dotnet.microsoft.com/download/dotnet
## Available methods
```csharp
decimal Abs(decimal x);
decimal Acos(decimal x);
decimal Asin(decimal x);
decimal Atan(decimal x);
decimal Atan2(decimal x);
decimal Cos(decimal x);
decimal Cosh(decimal x);
decimal Exp(decimal x);
decimal Log(decimal x);
decimal Log10(decimal x);
decimal Power(decimal value, decimal pow);
decimal PowerN(decimal value, int power);
int Sign(decimal x);
decimal Sin(decimal x);
decimal Sinh(decimal x);
decimal Sqrt(decimal x, decimal epsilon = Zero);
decimal Tan(decimal x);
decimal Tanh(decimal x);
```
The project can be found on [nuget](https://www.nuget.org/packages/HaemmerElectronics.SeppPenner.DecimalMath/).
## Install
```bash
dotnet add package HaemmerElectronics.SeppPenner.DecimalMath
```
Change history
--------------
See the [Changelog](https://github.com/SeppPenner/DecimalMath/blob/master/Changelog.md).